Getting Java

OpenSolaris 2008.05 includes the Java Runtime Environment, but not the full Java Development Kit (JDK).  It is easy enough to install it, however, from the opensolaris.org repository.  The key is to use the correct search term.

Start the Package Manager by choosing System > Administration > Package Manager.  If you enter "java" into the search field, this is what you will see (click for full size):

If you scroll through the list, you will not see an entry for the JDK.  If, however, you search for "jdk" you will see an entry for the SUNWj6dev package (click for full size):


The SUNWj6dev package contains JDK 6.  As of the date this blog entry was written, the version of SUNWj6dev in the opensolaris.org repository contains JDK 6 update 4 - hopefully it will be refreshed soon with the latest JDK 6 update.

Comments:

Any idea how to make Java Webstart work with Firefox?

Posted by Simon Phipps on June 30, 2008 at 12:16 PM GMT #

This is what worked for me.... Using the Firefox 2.0.0.14 that is included with OpenSolaris 2008.05, click on a .jnlp link in the browser. When FireFox prompts you for the tool to use to open the link, choose "Other" from the drop-down list. Then navigate to /usr/bin and select javaws.

Posted by Gregg Sporar on June 30, 2008 at 02:23 PM GMT #

Cool, thanks. The JNLP in question needs Java 1.4, it seems, so still not got the function I was looking for but generic Java Web Start works now.

Posted by Simon Phipps on July 01, 2008 at 03:16 PM GMT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Connect with Oracle Solaris:


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
20
21
22
23
24
25
26
27
28
29
30
   
       
Today