launch4j

How to link lwjgl dll with launch4j

Hey all, I am trying to wrap my jar as an exe using launch4j. However I am using the lwjgl library and having trouble linking the native dll's. My directory structure is as follows: I have a top directory which contains the following path: top/lib/lwjgl/native/win32 where my lwjgl dll's are contained. There is also a dist directory th...

Why I receive a message from the Program Compatibility Assistant?

The setup of my own program produce after finish a message from the "Program Compatibility Assistant" that the program was not installed correctly but it is all correctly. The same problem I have with the uninstaller. The problems occur under Vista. I use launch4j. Why occur this message? How can I eliminate this message that my custom...

lauch4j hello world program

I created a "hello world" java program and use lauch4j to convert executable jar to .exe file. When I tried to run it in cmd, but nothing printed out. I also tried to run it in launch4j. Log indicates: Executing: C:\Documents and Settings\cnbq84\Desktop\helloworld.exe. But still no "hello world" is displayed. How to display the "Hello W...

Code Signing for my Lauch4J/NSIS Installer on Windows XP?

What is the procedure for signing my code so that when user clicks on the installer it does not prompt unknown vendor. My Setup is, Application is java based. I wrap jar with launch4j Installer is based on nsis. My build platform is xp. One other thing when installation is finished i get a pop up saying installation was not succesful...

create exe using launc4j java

Hi,i have created exe by luunch4j and build.xml ant file in java but when i click exe i'm get could not find main class program will exit kind of message,even i click on jar file it also giving message as failed to load main class manifest attribute,what is the problem? Thanks in adavance rajani ...

Why/How does a application keep mutex references created by another process?

I have this somewhat unusual process structure: Launch4J starts my Java application. It creates a mutex to provide single-instance functionality. The Java application starts a VB6 application. When the Java application terminates, the VB6 application is still running. (Desired behaviour) The problem is: The mutex created by Launch4J ...

-server option for Launch4j?

I've been poking around the launch4j website and can't seem to figure out how to set the -server program option, there's an old forum post indicating it might be a future option but no further details are available. Is it possible to run the JVM in server mode using Launch4j? ...

Pinning a Java application to the Windows 7 taskbar

Original question I use Launch4j as a wrapper for my Java application under Windows 7, which, to my understanding, in essence forks an instance of javaw.exe that in turn interprets the Java code. As a result, when attempting to pin my application to the task bar, Windows instead pins javaw.exe. Without the required command line, my appl...

Java packaging tools - alternatives for jsmooth, launch4j, onejar

I have used these three open source tools for packaging my java apps, but they all look like abandon-ware now. All three are very good pieces of software. What are the options now? (or is using Java for desktop app development no longer a "hot" market for app developers to build & maintain these tools?). 1) exe wrapper: jsmooth - no new...

launch4j exe has nothing to say for itself, anyone got a suggestion?

Running on Linux, I've used launch4j to package an exe. I copy the exe into my Windows 7 VM, and run it. And nothing happens. I run it with --l4j-debug, and nothing still happens (at least, if there's a log file, I cannot find it). Is there some diagnostic technology that I'm missing here? ...

Does compilng java code to exe (e.g. using Launch4Java) ensure code cannot be reversed engineered?

After experimenting myself, I am convinced that java code obsfucation is not safe in terms of preventing reverse code engineering. So, I turn to using Launch4J to bundle one of my core jar file into a single EXE file. The jar file contains the main entry method as well. Is this going to protect again code reverse engineering? ...

Configure Launch4J to use 32-bit JVM only

I'm using Launch4J to start my Java application and if an x64 JRE is present on the system, Launch4J seems to prefer it. Unfortunately my application cannot run on a 64 bit JVM because I'm loading a 32 bit DLL, which is not possible and leads to an UnsatisfiedLinkError. Is there any way to force/trick Launch4J to use a 32 bit JVM only?...

How can user change the jre parameter values after the exe is generated in Launch4j?

Is it possible to change the jre parameter values after the exe file is generated through Launch4j? The ideal scenario is like this: The default parameter values are applied when the program is started. However, when the user wants to change some jre parameter values, he goes to a .ini file, MyProgram.ini for example, changes the value...

How to see the status of my application created using launch4j

Hi All, I have created on exe application using launch4j.I created it in GUI mode and when i run the application it is not displaying any window or anything but i am able to see that the process is running internally.Can anyone specify what i need to change so that i able to see the status of the application in a window when i run the a...

maxHeapPercent parameter in Launch4j

In Launch4j, the memory configuration can be based on the percentage of the available memory size. For example: <maxHeapPercent>50%</maxHeapPercent> specifies that the maximum heap size will be 50% of the available memory. However, I wonder if Launch4j calculate the memory by itself or actually reuse the JVM parameter -XX:MaxHeapFree...