In message <5948b71e0906220115l50e4f8dao7642fa0c0089...@mail.gmail.com>, Charles Lee writes: > > 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?
jdk/jre/lib/tools.jar contains the classes for the tools in jdk/jre/bin and lib/tools.jar contains the classes for the tools in jdk/bin. There is some duplicate code between these and fixing this is on my todo list. Regards, Mark. > 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 buil > d > > 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 > > --0016e644dd4683d973046ceb7bdd-- >