Archive for May, 2009

Java for SkyView-in-a-Jar

Monday, May 4th, 2009

Every now and then we receive emails from SkyView users reporting problems running the SkyView-in-a-Jar application (skyview.jar) on a local machine. Most of the time the problems are due to a mismatched version of java being used to run the command. When the wrong version of the java is used the error message typically includes the following error:

Exception in thread “main” java.lang.UnsupportedClassVersionError: Bad version number in .class file

We currently have two versions of skyview.jar, one for Java 1.6 (Java SE 6) and one for Java 1.5 (Java SE 5). If you are not sure which file to download you can determine the java version from the Linux/Unix/OS X command line on your local machine by running:

java -version

Another problem a couple of users have encountered involves the use of gij, the GNU Interpreter for Java. At this time there seems to be an incompatibility between gij and the Skyview-in-a-Jar application. We are looking into this and hopefully will have this problem fixed soon. In the meantime it is advised that users install or switch to the java interpreter provided by Sun Microsystems.

As always, if you questions about any aspect of SkyView please contact us.

  • Categories

  • Tags