Hi Tim,

Tim Bell said the following on 08/25/09 14:54:
David Holmes - Sun Microsystems wrote:
Tim Bell said the following on 08/25/09 13:51:
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:
So is this a deployment bug or an OpenSolaris bug or what? Surely a JRE should not be getting installed in /usr/jdk, nor should it be called jdk1.6.0.

Who's responsible for this?

IMO - OpenSolaris packaging, although I couldn't locate a bug report for
it.  The initial install is minimal, presumably so that it will fit on a
bootable CD.

For more information, take a look here:

"Java Development"

The Java Runtime Environment (JRE) is already bundled with OpenSolaris OS. But 
for Java development, you need to download and install the Java Development Kit 
either form http://java.sun.com or from the official IPS repository. To enable 
Java development support, execute the following command:

http://wikis.sun.com/display/OpenSolarisInfo/OpenSolaris+2008.11+Development+Environment+Guide#OpenSolaris2008.11DevelopmentEnvironmentGuide-JavaDevelopment

More information here:

http://wikis.sun.com/display/OpenSolarisInfo/Installing+Java%2C+PHP%2C+Perl%2C+Python%2C+Ruby%2C+Tcl

---
The OpenSolaris OS comes with the Java runtime integration plugin (SUNWjre-config-plugin), JSS - Network Security Services for Java (SUNWjss), and the JDK Runtime Environment (SUNWj<version>rt).

You might want to install the JDK Dev Tools (SUNWj6dev), the Java Development cluster (java-dev), or other packages.
----

Looking at the packages on Solaris it seems the JRE always installs itself as-if actually a JDK. That way you get the full JDK by combining the different packages.

Live and learn :)

Cheers,
David

Reply via email to