[amsat-bb] Re: New version of AO-27 Schedule Lister released!!!

George Henry ka3hsw at att.net
Thu Apr 30 16:26:38 PDT 2009

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>

More information about the AMSAT-BB mailing list