build failure on solaris-i586: no /usr/jdk/instances/jdk1.6.0/bin/javac

Tim Bell Tim.Bell at Sun.COM
Tue Aug 25 03:51:30 UTC 2009

Max (Weijun) Wang wrote:

> It's a new opensolaris 2009.06 installed by lab guys here.
> In fact, you can see this "JDK" installation from a LiveCD of  
> opensolaris. Just like a normal JDK, there are bin/ and jre/ (no lib/)  
> under /usr/jdk/instances/jdk1.6.0. But the bin/ directory only  
> includes those files.

I am also running OpenSolaris 2009.06 on my home system.

/usr/jdk/instances/jdk1.6.0/bin looks more like a JRE than a JDK:

% pwd

% ls bin | wc -l
% ls jre/bin | wc -l

BTW - the oddball in jre/bin is:


> I'll try adding developer packages.

That is one approach.

Another approach is to leave the O/S files alone and set up
your own boot JDK somewhere else.  That way, an O/S upgrade
won't surprise you, and you control when you update boot JDK.

On Unix/Linux machines, Kelly started using /opt/java for this.

Here is an example from one of our lab machines (NOTE: NOT JPRT)
where I copied Kelly's style:

% ssh fyi.sfbay ls -l /opt/java
total 10
lrwxrwxrwx   1 tbell    green         11 Feb  4  2009 jdk1.6.0 -> jdk1.6.0_11
drwxr-xr-x   9 tbell    green        512 Nov 10  2008 jdk1.6.0_11
lrwxrwxrwx   1 tbell    green         12 Feb  4  2009 jdk1.7.0 -> jdk1.7.0-b45
drwxr-xr-x  10 tbell    green        512 Jan 29  2009 jdk1.7.0-b45
lrwxrwxrwx   1 tbell    green          8 Feb  4  2009 jdkBOOTDIR -> jdk1.6.0

Also, now that I look at this lab system, I need to update ...



More information about the build-dev mailing list