I'm having issues running a jar file I compiled from an eclipse project. I'm fairly new to Java so I'm likely missing something simple.
When I run the jar file from the command line:
javaw -jar test1.jar
the program runs fine. But when I double click the jar it doesn't run. I believe the issue has to do with 32 bit versus 64 bit java (double clicking the jar file opens the "javaw.exe *32" process whereas running from the command line opens "javaw.exe"). I'm using the swing GUI libraries, if that makes a difference.
Is that the issue?
Is there a way to make eclipse export a .jar file that will be compatible with "javaw.exe *32"?
Thanks.
EDIT: I figured out the error was related to using generics with JList, which is only supported in Java 7. Double clicking the .jar was running a 32-bit version of Java 6, which is what was throwing the error. Thanks for the help guys