I don't know what installed that "JDK" on your system so I don't know where the problem might lie - ie you may have a JRE impersonating a JDK.

But the sanity check might need strengthening too.

David

Weijun Wang said the following on 08/24/09 16:38:
But the path name is /usr/jdk/instances/jdk1.6.0/bin/. I guess the
sanity check should choose an alternative path, or, just report an error.

Max

David Holmes - Sun Microsystems wrote:
Max,

That looks more like a JRE install than a JDK install.

David

Weijun Wang said the following on 08/24/09 16:06:
I'm trying to build openjdk on a new ultra-24. The sanity check shows

   BOOTDIR = /usr/jdk/instances/jdk1.6.0

but fails at the  very beginning:

BUILD FAILED
/net/bounty.prc/j2se-jsn/max/work/myjdk/langtools/make/build.xml:600:
Error running /usr/jdk/instances/jdk1.6.0/bin/javac compiler

since there's no javac there:

$ ls /usr/jdk/instances/jdk1.6.0/bin/
ControlPanel  jcontrol      pack200       rmiregistry   unpack200
java          keytool       policytool    servertool
javaws        orbd          rmid          tnameserv

Is this normal?

Thanks
Max

Reply via email to