I am facing the following error: Hibernate is not working with JDK 1.4
Hibernate version: 3.0 (2005-12-14 07:41:25)
database: MSACCESS 2003
Exception below:
Code:
C:\hibernate-3.0>build
C:\hibernate-3.0>set JDBC_DRIVER=jdbc/hsqldb.jar
C:\hibernate-3.0>java -cp "lib/ant-launcher-1.6.3.jar" org.apache.tools.ant.launch.Launcher -lib lib -Ddriver.jar=j
dbc/hsqldb.jar
Buildfile: build.xml
[taskdef] Could not load definitions from resource checkstyletask.properties. It could not be found.
[taskdef] Could not load definitions from resource clovertasks. It could not be found.
splash:
init:
[echo] Build Hibernate-3.0 (2005-12-14 07:41:25)
[echo] JDK version: 1.4
init.antlr:
antlr:
compile:
[javac] Compiling 827 source files to C:\hibernate-3.0\build\classes
BUILD FAILED
java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)
Total time: 10 seconds
C:\hibernate-3.0>