Z
zyng
Hi,
In my build.xml,
<property environment="env"/>
...
<path id="project.classpath">
<fileset dir="${env.JAVA_HOME}">
<include name="jre/lib/rt.jar"/>
</fileset>
...
The environment variable JAVA_HOME has been set to: C:\Program Files\Java\jdk1.6.0_24
When I run it, those classes inside rt.jar cannot be found. I have print out, using echo, the classpath and rt.jar is included in the classpath.
I don't understand why the classes in rt.jar cannot be reached by javac.
Thank you very much.
In my build.xml,
<property environment="env"/>
...
<path id="project.classpath">
<fileset dir="${env.JAVA_HOME}">
<include name="jre/lib/rt.jar"/>
</fileset>
...
The environment variable JAVA_HOME has been set to: C:\Program Files\Java\jdk1.6.0_24
When I run it, those classes inside rt.jar cannot be found. I have print out, using echo, the classpath and rt.jar is included in the classpath.
I don't understand why the classes in rt.jar cannot be reached by javac.
Thank you very much.