I just developed and exported a Runnable JAR using Eclipse on my 64-bit Windows 7 laptop. I just tried this on other computers and it works on another Windows 7 x64 laptop when you double click on it. However, on a 32-bit laptop, I only start if I start it from the command line using java -jar "C:\Name of Jar.jar" , but does not cause any errors.
Also, if I use the javaw "C:\Name Of Jar.jar" command javaw "C:\Name Of Jar.jar" , I get the error message "Could not find the main class C: \ Name of Jar.jar. The program will exit."
Does anyone know why and how to fix it? thanks in advance
source share