Setting Up Your Development Environment on OpenSolaris
Java, PHP, Perl, Python, Ruby/Rails/Gems, Tcl/Tk
The OpenSolaris OS comes with some support for Java, Perl, Python, and Tcl/Tk. You can easily download and install many more packages.
To see what additional tools are available, select the Development category and select All Packages in the Show field. Below the Development category heading, select the Java, Other Languages, PHP, Perl, Python, or Ruby subcategory.
Java
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.
To download and install a package by using the OpenSolaris Package Manager:
- Select System > Administration > Package Manager from the desktop menu bar on your OpenSolaris system.
- To find all the Java or JDK packages, do one of the following steps:
- Select a Repository to search, select Development from the category menu, select the Java sub-category, and select All Packages from the Show menu.
- Select a Repository to search, type java or jdk in the Search field, and press the Enter key.
- Select All Repositories from the Search menu, type java or jdk in the Search field, and press the Enter key.
- A check mark in the Status column of the package list means that package is already installed on your system. If the package is not already installed, or if you want to update that package, select the checkbox to the left of the package name and then select the Install/Update button or the Package > Install/Update menu option at the top of the Package Manager window.
To use the IPS command line interface to install the JDK Dev Tools, enter the following command.
$ pfexec pkg install SUNWj<version>dev
For information about Java, see the following resources.
- New to Java Programming Center to start learning about Java programming
- java.sun.com web site for complete documentation for Java Platform, Standard Edition (Java SE) and the JDK
- Sun Java System wiki
PHP
Web Stack and NetBeans come with PHP support. You can also install PHP packages separately. See the PHP subcategory of the Development category in Package Manager or type "php" in the Search field.
For information about PHP, see the following resources.
- php.net
- PHP Documentation
- Tracing PHP Applications Using DTrace
- Web Stack PHP Development
- Web Stack Debugging Support for PHP Applications
- PHP Development Support in the NetBeans IDE
Perl
The OpenSolaris OS comes with a Perl core package (SUNWperl<version>core). Also available for you to download are a Perl XML parser and the DBI PostgreSQL interface.
For information about Perl see perl.com and perl.org.
Python
The OpenSolaris OS comes with the Python interpreter, libraries, and utilities. See the Python subcategory of the Development category in Package Manager for other Python packages you might want to install.
For information about Python, see the following resources.
Ruby/Rails/Gems
NetBeans comes with Ruby support. You can also install Ruby, RubyGems, and Grails framework packages separately. See the Ruby subcategory of the Development category in Package Manager or type "ruby" or "rails" in the Search field.
| ruby-dev | Ruby Development cluster |
| SUNWjruby | JRuby |
| SUNWruby<version> | Ruby & RubyGems cluster |
| SUNWgrails | Grails framework |
For information about Ruby, Gems, and Rails, see the following resources.
- Ruby
- Ruby on Rails
- RubyGems Manuals
- JRuby Java powered Ruby implementation
- Grails
- Web Stack Ruby Development
- Ruby Development Support in the NetBeans IDE
Tcl/Tk
The OpenSolaris OS comes with the TCL Tool Command Language(SUNWTcl) and the TK TCL GUI Toolkit (SUNWTk).
For information about Tcl, see the Tcl Developer Xchange.

