I compiled the src with JDK1.4. I modified "build.bat" to:
Code:
C:\j2sdk1.4.2_09\jre\bin\java -cp "lib/ant-launcher-1.6.5.jar;C:\j2sdk1.4.2_09\lib\tools.jar;C:\j2sdk1.4.2_09\jre\lib\rt.jar" org.apache.tools.ant.launch.Launcher -lib lib %1 %2 %3 %4 %5
But I'm still getting the same error:
java.lang.UnsupportedClassVersionError: org/hibernate/cfg/SecondPass (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code))
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576)
at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:414)
Could sb. point out what I did wrong?
Thanks in advance.