Using 1.5: cannot find symbol

Even though my latest classes (JARs) are in my (Eclipse) project's CLASSPATH, when I compile my classes via ANT, I get "cannot find symbol" errors. But when I compile them with the Eclipse IDE, it works. I triple-checked the classpath of my ANT build file (but it never changed anyway) and it has the exact same JAR files (incl. locations) as the Eclipse build path. I wonder if the SDK 1.5 does something differently compared to the 1.4.2?

[448 byte] By [MartinHilperta] at [2007-10-1 4:39:58]
# 1

Oh man, this is really shitty:

The reason was that another Java application used an older version of this JAR that needed to be in the JRE's lib/ext/ folder (otherwise the other application (ActiveX bridge bean) wouldn't find the classes). The whicked thing about this is: what does the separate JRE installation have to do with the SDK and the SDK's subdirectory jre? Why does the javac compiler care about the separate JRE if it has it's own SDK and JRE?

MartinHilperta at 2007-7-9 5:14:12 > top of Java-index,Administration Tools,Sun Connection...