Hi just upgraded to nevada build 52 and vermillion 52. I installed the latest version of Chime and tried to run it. I get the following error: $ /opt/OSOL0chime/bin/chime Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) My java version: java version "1.5.0_08" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode) My nevada build: bash-3.00$ uname -a SunOS jmrlaptop 5.11 onnv-gate:2006-10-31 i86pc i386 i86pc Anyone any ideas? JR P.s. I also tried to build the sources and got an error - it appears to be trying to build libcnv_jni which the README states uses private ON tools and is delivered separately :( README.build: " I omitted Makefiles for the C code in usr/src/lib/libcnv_jni since that code depends on interfaces private to ON. Instead I included pre-built libcnv_jni.so.1 for both i386 and sparc in $(DIR)/lib." # cd /opt/OSOL0chime/share/usr/src/ # ls Makefile OPENSOLARIS.LICENSE README.build dtracex pkgdefs Makefile.dir README chime lib # export DIR=/opt/OSOL0chime/share/ # export CODEMGR_WS=$DIR # export SRC=$DIR/usr/src # export ROOT=$DIR/proto # make install /opt/OSOL0chime/share/usr/src/lib make[1]: Entering directory `/opt/OSOL0chime/share/usr/src/lib'' /opt/OSOL0chime/share/usr/src/lib/libcnv_jni make[2]: Entering directory `/opt/OSOL0chime/share/usr/src/lib/libcnv_jni'' /opt/OSOL0chime/share/usr/src/lib/libcnv_jni/java make[3]: Entering directory `/opt/OSOL0chime/share/usr/src/lib/libcnv_jni/java'' g -d /opt/OSOL0chime/share//usr/src/lib/libcnv_jni/java/classes -sourcepath /opt/OSOL0chime/share//usr/src/lib/libcnv_jni/java/classes:/opt/OSOL0chime/share//usr/src/lib/libcnv_jni/java/src -deprecation /opt/OSOL0chime/share//usr/src/lib/libcnv_jni/java/src/org/opensolaris/os/conversions/Conversion.java make[3]: g: Command not found ---------------------------------------- Complete Chime Runtime Error Stack: Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) 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) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) 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) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) 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) at org.opensolaris.chime.StatLauncher.containsDisplayDescription(StatLauncher.java:489) at org.opensolaris.chime.StatLauncher.createLoadMenu(StatLauncher.java:533) at org.opensolaris.chime.StatLauncher.launch(StatLauncher.java:923) at org.opensolaris.chime.StatLauncher$33.run(StatLauncher.java:1335) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) bash-3.00$
Joel Buckley
2006-Nov-15 21:19 UTC
[dtrace-discuss] Problem running chime on nevada build 52
John, Root Cause: Java Version used to Build Chime > Java Version used to Run Chime. Workaround: Rebuild Chime with Java Version used to Run Chime. Joel.> Hi just upgraded to nevada build 52 and vermillion 52. > > I installed the latest version of Chime and tried to run it. I get > the > following error: > $ /opt/OSOL0chime/bin/chime > Exception in thread "AWT-EventQueue-0" > java.lang.UnsupportedClassVersionError: Bad version number in > .class file > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > > > My java version: > java version "1.5.0_08" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) > Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode)-------------- next part -------------- A non-text attachment was scrubbed... Name: Joel.Buckley.vcf Type: text/x-vcard Size: 331 bytes Desc: Card for Joel Buckley <Joel.Buckley at Sun.COM> URL: <http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20061115/cf431573/attachment.vcf>
Tom Erickson
2006-Nov-16 04:19 UTC
[dtrace-discuss] Problem running chime on nevada build 52
John, I advertise that Chime requires Java 5 or later, and I accidentally built the latest sparc version of Chime on Java 6. My apologies. I reverted to Java 5 and rebuilt. Here''s the exact version I used: java version "1.5.0_08" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing) You can get this version now from the Installation page: http://www.opensolaris.org/os/project/dtrace-chime/install/ Thanks, Tom On Wed, Nov 15, 2006 at 02:19:15PM -0700, Joel Buckley wrote:> John, > > Root Cause: > Java Version used to Build Chime > Java Version used to Run Chime. > > Workaround: > Rebuild Chime with Java Version used to Run Chime. > > Joel. > > > Hi just upgraded to nevada build 52 and vermillion 52. > > > > I installed the latest version of Chime and tried to run it. I get > > the > > following error: > > $ /opt/OSOL0chime/bin/chime > > Exception in thread "AWT-EventQueue-0" > > java.lang.UnsupportedClassVersionError: Bad version number in > > .class file > > at java.lang.ClassLoader.defineClass1(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > > > > > > My java version: > > java version "1.5.0_08" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) > > Java HotSpot(TM) Server VM (build 1.5.0_08-b03, mixed mode) >Content-Description: Card for Joel Buckley <Joel.Buckley at Sun.COM>> _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org
Scott Kammer
2006-Nov-30 19:42 UTC
[dtrace-discuss] Re: Problem running chime on nevada build 52
Just downloaded from download page and still getting same error: Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) ........ This message posted from opensolaris.org
Casper.Dik at Sun.COM
2006-Nov-30 19:50 UTC
[dtrace-discuss] Re: Problem running chime on nevada build 52
>Just downloaded from download page and still getting same error: > >Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedClassVersionError: Bad version numberin .class file> at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) >........Looks like the "java version upgrade error". rm /usr/java ln -s jdk/jdk1.6.0 /usr/java Casper
Tom Erickson
2006-Dec-01 06:42 UTC
[dtrace-discuss] Re: Problem running chime on nevada build 52
Scott, Sorry about that. Casper''s right, although Chime is supposed to work with Java 5. I just uploaded a new version that should take care of this. http://www.opensolaris.org/os/project/dtrace-chime/install/ Thanks, Tom On Thu, Nov 30, 2006 at 08:50:34PM +0100, Casper.Dik at sun.com wrote:> > >Just downloaded from download page and still getting same error: > > > >Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedClassVersionError: Bad version number > in .class file > > at java.lang.ClassLoader.defineClass1(Native Method) > > at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) > >........ > > > Looks like the "java version upgrade error". > > > rm /usr/java > ln -s jdk/jdk1.6.0 /usr/java > > Casper > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org