Greg,
I had the same problem, the main links are not working, use the first of the attachments at the bottom of that page (for Windows at least), that definitely works and gives you version 1.1
HTH
David KG4ZLB
George Henry wrote:
I'm no Java whiz either (my son is the programmer, not me), but my best guess is that you need to update your Java Runtime version. The program was compiled on a computer with JRE 1.6.0, so you probably need that version. The Windows .exe has run fine on all 5 computers I've tested it on, and all are at JRE 1.6.0. The .jar ran fine on the Ubuntu 8.04 ("Hardy Heron") box I tested it on, but I did not check the Java version on that machine.
In Windows, you can check your JRE version clicking the Java icon in Control Panel, or by typing
java -version
on the command line.
73,
George, KA3HSW
----- Original Message ----- From: "Greg D." ko6th_greg@hotmail.com To: ka3hsw@att.net Sent: Thursday, April 30, 2009 12:18 AM Subject: RE: [amsat-bb] New version of AO-27 Schedule Lister released!!!
Hi George,
I'm kind of dense when it comes to Java applications, but I can't get either version to run. The Windows version pops up an error box saying "Could not find main class. Program will exit.", and the Linux (cross-platform) version says all this stuff, below. What am I doing wrong?
Thanks,
Greg KO6TH
greg@p3200:~/download/AO-27_Scheduler> java -jar AO-27Lister1.1.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass2(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:719) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:160) at java.net.URLClassLoader.defineClass(URLClassLoader.java:254) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) greg@p3200:~/download/AO-27_Scheduler>
Sent via AMSAT-BB@amsat.org. Opinions expressed are those of the author. Not an AMSAT-NA member? Join now to support the amateur satellite program! Subscription settings: http://amsat.org/mailman/listinfo/amsat-bb