[amsat-bb] Re: New version of AO-27 Schedule Lister released!!!
ko6th_greg at hotmail.com
Fri May 1 22:19:24 PDT 2009
Ah, I have Java 1.5.something. I tried it on another machine at work that has 1.6 and it works, so that was the problem. I expect my Windows system is even older (I hardly ever use it).
Some gentle feedback to your son... If he doesn't absolutely need to use something unique in the 1.6 version to make the program work, it would be a bit easier on his customers to not require the latest support library. My main computer is running out of space, and after upgrading Java I could no longer log in. Had to go in as root and uninstall it. The machine is in desperate need of being rebuilt, so I guess it's my fault, But regardless, his code will not run here until I do an awful lot of work.
Anyway, mystery solved.
> From: ka3hsw at att.net
> To: ko6th_greg at hotmail.com; amsat-bb at amsat.org
> Subject: Re: [amsat-bb] New version of AO-27 Schedule Lister released!!!
> Date: Thu, 30 Apr 2009 18:26:38 -0500
> 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.
> George, KA3HSW
> ----- Original Message -----
> From: "Greg D." <ko6th_greg at hotmail.com>
> To: <ka3hsw at 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?
> Greg KO6TH
> greg at 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.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 at p3200:~/download/AO-27_Scheduler>
Windows Live™ Hotmail®:…more than just e-mail.
More information about the AMSAT-BB