Unfortunately, NetBeans 6.1 has not yet made it into the package repository for OpenSolaris 2008.05 yet. Here's how to install it.
OpenSolaris 2008.05 does not ship with the JDK, so if you haven't already done so, it needs to be installed first.
Processing package instance <SUNWj6dev> from </export/home/bleonard/Desktop/JDK>
JDK 6.0 Dev. Tools (1.6.0_06)(i386) 1.6.0,REV=2006.11.29.05.03
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
4 package pathnames are already properly installed.
## Verifying package dependencies.
WARNING:
The <SUNWmfrun> package "Motif RunTime Kit" is a
prerequisite package and should be installed.
Do you want to continue with the installation of <SUNWj6dev> [y,n,?]
The Motif RunTime Kit (SUNWmfrun) isn't included with OpenSolaris 2008.05, so I'm just going to ignore this warning and continue...
Do you want to continue with the installation of <SUNWj6dev> [y,n,?] y
Installing JDK 6.0 Dev. Tools (1.6.0_06) as <SUNWj6dev>
## Installing part 1 of 1.
/usr/jdk/instances/jdk1.6.0/LICENSE
/usr/jdk/instances/jdk1.6.0/README.html
...
/usr/jdk/instances/jdk1.6.0/lib/tools.jar
/usr/jdk/instances/jdk1.6.0/src.zip
[ verifying class <none> ]
## Executing postinstall script.
Installation of <SUNWj6dev> was successful.
Processing package instance <SUNWj6cfg> from </export/home/bleonard/Desktop/JDK>
JDK 6.0 Host Config. (1.6.0_06)(i386) 1.6.0,REV=2006.11.29.05.03
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
1 package pathname is already properly installed.
## Verifying package dependencies.
WARNING:
The <SUNWmfrun> package "Motif RunTime Kit" is a
prerequisite package and should be installed.
Do you want to continue with the installation of <SUNWj6cfg> [y,n,?]
You get the same warning with the Dev. Tools package. Again, continue...
Do you want to continue with the installation of <SUNWj6cfg> [y,n,?] y
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWj6cfg> [y,n,?] y
Installing JDK 6.0 Host Config. (1.6.0_06) as <SUNWj6cfg>
## Installing part 1 of 1.
[ verifying class <none> ]
[ verifying class <preserve> ]
## Executing postinstall script.
Installation of <SUNWj6cfg> was successful.
Processing package instance <SUNWj6man> from </export/home/bleonard/Desktop/JDK>
JDK 6.0 Man Pages (1.6.0_06)(i386) 1.6.0,REV=2006.12.07.16.42
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
3 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing JDK 6.0 Man Pages (1.6.0_06) as <SUNWj6man>
## Installing part 1 of 1.
/usr/jdk/instances/jdk1.6.0/man/man1/appletviewer.1
/usr/jdk/instances/jdk1.6.0/man/man1/apt.1
...
/usr/jdk/instances/jdk1.6.0/man/man1/wsimport.1
/usr/jdk/instances/jdk1.6.0/man/man1/xjc.1
[ verifying class <none> ]
Installation of <SUNWj6man> was successful.
Processing package instance <SUNWj6dmo> from </export/home/bleonard/Desktop/JDK>
JDK 6.0 Demo Programs (1.6.0_06)(i386) 1.6.0,REV=2006.11.29.05.03
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
3 package pathnames are already properly installed.
## Verifying package dependencies.
WARNING:
The <SUNWmfrun> package "Motif RunTime Kit" is a
prerequisite package and should be installed.
Do you want to continue with the installation of <SUNWj6dmo> [y,n,?]
And one final warning with the Demo Programs package...
Do you want to continue with the installation of <SUNWj6dmo> [y,n,?] y
/usr/jdk/instances/jdk1.6.0/sample/webservices/EbayServer/src/ebay/server/Main.java
[ verifying class <none> ]
Installation of <SUNWj6dmo> was successful.
bleonard@opensolaris:~/Desktop/JDK$