muhammadnaveed / syncnotes2google

Automatically exported from code.google.com/p/syncnotes2google
0 stars 0 forks source link

Issue starting syncnotes2google.bat #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. any time I run the batch file

What is the expected output? What do you see instead?
unsure - never able to make run
C:\$user\syncnotes2google>syncnotes2google.bat
.\syncnotes2google.jar;.\lib\Notes.jar;.\lib\domingo-1.5.1.jar;.\lib\gdata-calen
dar-2.0.jar;.\lib\gdata-calendar-meta-2.0.jar;.\lib\gdata-client-1.0.jar;.\lib\g
data-client-meta-1.0.jar;.\lib\gdata-core-1.0.jar;.\lib\gdata-media-1.0.jar;.\li
b\google-collect-1.0-rc1.jar
The java class could not be loaded. java.lang.UnsupportedClassVersionError:
(com
/googlecode/syncnotes2google/SyncNotes2Google) bad major version at offset=6

What version of the product are you using? On what operating system?
running only version
on windows xp 32 bit
java build is j2re 1.50 ibm j9 2.3

Please provide any additional information below.
I have not been able to get this code to run yet. I played with path a bit
and finally was able to execute - but continue to get the bad major version
offset error.

My best guess is the java version I am running is incompatable but I see no
refrence to a requirement here. Please let me know.

my java info
C:\$user\syncnotes2google>java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build
pwi32devifx-20081023a (S
R8a + IZ34138))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32
j9vmwi3223ifx-2008
0811 (JIT enabled)
J9VM - 20080809_21892_lHdSMr
JIT  - 20080620_1845_r8
GC   - 200806_19)
JCL  - 20081016a

Original issue reported on code.google.com by jmo...@gmail.com on 11 Nov 2009 at 4:55

Attachments:

GoogleCodeExporter commented 9 years ago
I get a similar error at runtime. Copy below. If this is due to a java version 
mismatch then there should be an indication of which versions are compatible. 
java -
version output is also below.

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version 
number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

U:\SyncNotes2Google>java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)

Original comment by pscrivens@gmail.com on 16 Nov 2009 at 12:09

GoogleCodeExporter commented 9 years ago
Hello, had the same problem.. updated Java to 6.16 and finally got it worked.

Original comment by peterha...@gmail.com on 18 Nov 2009 at 2:46

GoogleCodeExporter commented 9 years ago

Original comment by henols on 22 Mar 2010 at 3:54