i created with launch4j a .exe to launch my .jar file. The .jar file it self can be launched by double click.
The .exe works fine starting always my .jar file except if i install the complete application to C:\Program Files (x86)\Commscope\SPS Testdata Parser.
The installation structure looks like follwing:
SPS Testdata Parser
lib
dom4j-1.6.1.jar
jaxen-1.1.6.jar
SPS_Safety_Tester_Testdata_Parser.jar
SPSTesterTestDataParser.exe
i can provide config file and debug log if needed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The problem is caused by the space in the path where the application is installed. The quick solution is to switch the standard gui header instead of the beta JNI.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i created with launch4j a .exe to launch my .jar file. The .jar file it self can be launched by double click.
The .exe works fine starting always my .jar file except if i install the complete application to C:\Program Files (x86)\Commscope\SPS Testdata Parser.
The installation structure looks like follwing:
SPS Testdata Parser
lib
dom4j-1.6.1.jar
jaxen-1.1.6.jar
SPS_Safety_Tester_Testdata_Parser.jar
SPSTesterTestDataParser.exe
i can provide config file and debug log if needed.
Yes, please post the config and debug log.
Here is debug log
here is config
The problem is caused by the space in the path where the application is installed. The quick solution is to switch the standard gui header instead of the beta JNI.
I added a ticket (163): JNI header does not work when executable is in a folder with spaces
Last edit: Grzegorz Kowal 2017-01-29