Re: Install DOM TS

The problem is that your javac compiler apparently does not recognize  
the

-source 1.2

switch that specifies that the file should interpreted per the Java  
language definition as of JDK 1.2 which is generated due to the  
source="1.2" attributes on the javac elements in the build file.  Not  
sure what Java compiler you have on the path.  I thought that every  
Sun javac supported -source=1.2, but I don't have time to check and  
don't have a JDK 1.4.1 installed.  Maybe a slightly different Java  
source language version (1.3 or 1.4) would work with your compiler.

I did not parameterize the Java language version, so you may need to  
manually edit the build.xml file.  Try the following steps:

1) Run "javac -version" to determine implementer and version of Java  
compiler
2) Run "javac -source 1.3 java/org/w3c/domts/DOMErrorImpl.java" to  
see you get a warning about unrecognized version (if version is  
recognized, you should get a cannot find symbol error).  If that  
fails, try 1.4.
3) If you found a value that works, modify source="1.2" in build.xml  
to source="1.3" or source="1.4".
4) If your javac is from non-Sun JDK or an old JDK (1.1 or 1.2), try  
installing a newer Sun JDK.
4) If none work, remove source="1.2" attributes from build.xml.
  

Received on Tuesday, 13 June 2006 05:01:35 UTC