Reputation: 385
I've got a problem when starting up java application (.exe) instead of .jar . FYI, I've got a procedure on the track such as installing java (JDK 7 & JRE 7), using environment variables JAVA_HOME & EXE4J_JAVA_HOME. But, when I take a look at control panel, Java(TM) 7 wasn't there. Here's the image that I get when I startup my .exe
when I click ok, this is the result
Very appreciate the others' help. Thank you
Upvotes: 4
Views: 21577
Reputation: 48105
To get a 64-bit executable, select the check box on "Executable info->32 bit or 64 bit" step of the exe4j wizard.
The fact that you see multiple error message windows is a bug and will be fixed in the next release.
Upvotes: 1
Reputation: 126
Try this and post the result:
Go to: Control Panel » System » Advanced » Environment Variables » System Variables
Look for the JAVA_HOME and post the value of the variable. Next, go to file explorer and search for the path that you have copied from the JAVA_HOME variable.
Do you have the folder mentioned on the system varible here?
Upvotes: 1
Reputation: 950
What is your system specs. Is it 32 bit or 64 bit. check the JAVA installation which you have matches the system/OS specs.
There are 2 options. Either compile your java application with a 64 bit java compiler (which u already have) OR you can install a java 32 bit installation and set you JAVA_HOME to point to that64 bit java should take care of java apps compiled in 32-bit environment.
Upvotes: 0