| [news.eclipse.newcomer] Re: Compiling for older version of java |
Hi Joel. It appears to work as expected on my Windows and Linux systems. That is, if I have Windows / Preferences / Java / Compiler / Compiler compliance level 6.0, create a jar (e.g. jchessboad16.jar) and then try to run it on my Linux machine (which has 1.5 JRE), I get the message "Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file". (Note that I don't have any project-specific settings, so the default preferences is the only relevant setting. If you have project-specific settings, I guess you would change those instead.)Mark Dexter wrote:
Hi Joel. The application hangs, both when I try to run the Jar and when I try to run JChessboard.java from inside Eclipse. It hangs on line 955 when I debug. It draws a transparent frame and hangs. Am I missing something needed to run the app? Once I get it working here, I can play with it on Linux. Thanks. Mark
Mark:
That's a bug that pops up occasionally - haven't figured out why just yet. Just kill the java or javaw process and try it again. It will start.
--Joel