Hi guys, I am running harmony+drlvm against ant now. And the same problem occurred as mentioned in the quote. The reason is we have a tools.jar under the path jdk/jre/lib. This jar file contains com.sun.jdi, but do not contain com.sun.tools. However, we also has a tools.jar under the path jdk/lib. This jar file contains both sun packages. And I believe jdk/lib is the right place which tools.jar should located.
Does somebody know why we have two tools.jar in our harmony+drlvm? On Thu, Mar 12, 2009 at 6:06 PM, Charles Lee <littlee1...@gmail.com> wrote: > Hi guys, > > I am investigating the pdebuild EUT test and fall in confusion. There is a > fail test called testBug114510, and the fail reason is the java.lang.Object > can not find when using hdk. Another thing is when I try to use ant to build > a build.xml, which contains a javac target, the build fail and returns : > "Unable to find a javac compiler; > com.sun.tools.javac.Main is not on the classpath. > Perhaps JAVA_HOME does not point to the JDK. > It is currently set to > "/home/lee/workspace/harmony/All/trunk/target/hdk/jdk/jre" > The JAVA_HOME I set is > "/home/lee/workspace/harmony/All/trunk/target/hdk/jdk/". > > Any idea about this? > > -- > Yours sincerely, > Charles Lee > > -- Yours sincerely, Charles Lee