G'day,
I've finally had the opportunity to upgrade our CDK installation (from
20050826 to 1.0). Our target platform is JRE 1.4.2 so I attempted to
build using JDK 1.4.2_05 but got a series of compilation errors for core
classes that aren't defined in JDK 1.4, e.g.
[javac] symbol : method parseBoolean (java.lang.String)
[javac] location: class java.lang.Boolean
[javac] result = new
BooleanResult(Boolean.parseBoolean(descriptorValue));
[javac] ^
[javac]
/home/soldev/cdk-src+libs-1.0/build/src/org/openscience/cdk/io/iterator/IteratingMDLReader.java:139:
cannot resolve symbol
[javac] symbol : method contains (java.lang.String)
[javac] location: class java.lang.String
[javac] if (currentLine.contains("V2000") |
currentLine.contains("v2000")) {
(btw, surely that should be || instead of |)
Regards,
Chris.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user