remarde78
03-03-2006, 08:26 AM
Hi,
I'm trying to build the project from cvs sources in Eclipse (the cvs command to get the sources was " cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pentaho co -P pentaho"), but I keep getting errors :
compile:
[javac] Compiling 312 source files to C:\\Outils\\cvs\\pentaho\\build\\pentaho-classes
[javac] C:\\Outils\\cvs\\pentaho\\server\\pentaho\\src\\org\\hibernate\\connection\\DBCPConnectionProvider.java:18: cannot access java.io.PrintWriter
[javac] bad class file: C:\\Program Files\\Java\\jre1.5.0_06\\lib\\rt.jar(java/io/PrintWriter.class)
[javac] class file has wrong version 49.0, should be 48.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] import java.io.PrintWriter;
[javac] ^
[javac] 1 error
BUILD FAILED
Does anyone have an idea?
I've another question:
What is the good Eclipse configuration to build or modify our own solution (java build path with libraries and order, Plugins,...) ?
Regards,
I'm trying to build the project from cvs sources in Eclipse (the cvs command to get the sources was " cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/pentaho co -P pentaho"), but I keep getting errors :
compile:
[javac] Compiling 312 source files to C:\\Outils\\cvs\\pentaho\\build\\pentaho-classes
[javac] C:\\Outils\\cvs\\pentaho\\server\\pentaho\\src\\org\\hibernate\\connection\\DBCPConnectionProvider.java:18: cannot access java.io.PrintWriter
[javac] bad class file: C:\\Program Files\\Java\\jre1.5.0_06\\lib\\rt.jar(java/io/PrintWriter.class)
[javac] class file has wrong version 49.0, should be 48.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] import java.io.PrintWriter;
[javac] ^
[javac] 1 error
BUILD FAILED
Does anyone have an idea?
I've another question:
What is the good Eclipse configuration to build or modify our own solution (java build path with libraries and order, Plugins,...) ?
Regards,