download free 30 days trial version buy simpledb explorer
Documentation   Download   Purchase   Support   FAQs    Forum    ScreenShots & Demos       

java.lang.UnsupportedClassVersionError: Bad version number i

Support for SDBExplorer - A Simple Database Explorer for Amazon's SimpleDB

java.lang.UnsupportedClassVersionError: Bad version number i

Postby ujohnc00 » Dec 2nd, '10, 21:40

Hi there. I just downloaded SDBExplorer for OSX and tried to run it, but it opens then quickly closes with no clues. So I tried to run the 'SDBExplorer.jar' file and got the following stack trace:

Code: Select all
/Downloads/SDBExplorer_osx_2010100101\ 2/SDB\ Explorer.app/Contents/MacOS/JavaApplicationStub ; exit;
[LaunchRunner Error] com.simontuffs.onejar.Boot.main(String[]) threw an exception:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
   at com.simontuffs.onejar.JarClassLoader.defineClass(JarClassLoader.java:626)
   at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:532)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
   at com.simontuffs.onejar.Boot.run(Boot.java:284)
   at com.simontuffs.onejar.Boot.main(Boot.java:137)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:592)
   at apple.launcher.LaunchRunner.run(LaunchRunner.java:115)
   at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
   at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)


Any guidance?
ujohnc00
 

Re: java.lang.UnsupportedClassVersionError: Bad version numb

Postby Ashish Pancholi » Dec 3rd, '10, 11:58

Can you send us your java version installed ?

Open Terminal.
Write command “java-version” and hit enter you will find java version.
Send Us that Java version.



You probably run SDB Explorer on Java 5. You need to run new version of SDB Explorer under Java 6.

Thanks.
Ashish Pancholi
 
Posts: 69
Joined: May 11th, '09, 10:03

Re: java.lang.UnsupportedClassVersionError: Bad version numb

Postby ujohnc00 » Dec 4th, '10, 01:14

Code: Select all
$ java -version
java version "1.5.0_24"
ujohnc00
 


SDBex not working on Mac OSX 10.5.8 ?

Postby Bernard Sfez » Jan 23rd, '12, 08:35

Hello,

I have launched successfully SDBexplorer on my MBPro 10.6.5 and on a Win7.
My workstation at my office is an iMac9,1 (Intel Core 2 Duo) 10.5.8 and the program is not working. On double-click i can see there is a launch of it and then the application exit without messages.

I have check software update and everything is up to date.
My java version seams ok.

:~ raphael$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-9M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)

If i open the package and launch 'SDBExplorer.jar' the application is working and i can manipulate data.
Bernard Sfez
 

Re: java.lang.UnsupportedClassVersionError: Bad version numb

Postby Aashish Pancholi » Jan 24th, '12, 11:12

Thanks for reporting issue. We are looking issue and let you know.

Thanks for using SDBExplorer.
Aashish Pancholi
 


Return to Amazon SimpleDB

cron