Tostino / soperadi-smooks

Automatically exported from code.google.com/p/soperadi-smooks
0 stars 0 forks source link

UnsupportedClassVersionError #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. I have installed the 1.5.0_09 version JDK in Talend Open Studio, then when I 
run the job I'm getting the message:

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)
Exception in thread "main" 

I tried out with jdk 1.6.0_17 and I'm getting the same message. 

What version of the product are you using? On what operating system?
Talend Open Studio 4.0 and OS Windows XP sp3.

Please provide any additional information below.

Original issue reported on code.google.com by valle...@gmail.com on 10 Jun 2010 at 7:37

GoogleCodeExporter commented 9 years ago
Hello valekas,

currently JAR files are compiled for Java6 with Java6 support. We would 
recompile them with -source 5 however for a quick fix you can also do it on 
your own, just check out sources and run the build with Java5

Renat

Original comment by renat.zubairov on 10 Jun 2010 at 11:47