What's New in Oracle® Solaris 11.2

Exit Print View

Updated: December 2014
 
 

Java 8

Java 8, the latest Java release, includes a significant upgrade to the Java programming model and a coordinated evolution of the JVM, Java language, and libraries. Java 8 includes features for productivity, ease of use, improved polyglot programming, security, and improved performance.

You can have multiple versions of Java installed within Oracle Solaris 11.2. Only Java 7 is installed by default. To install Java 8, use the following command:

# pkg install jre-8

By running this command, Java 8 is set as the default Java environment. If you want to have Java 8 installed and set Java 7 as the default runtime Java version, run the following command:

# pkg set-mediator -V 1.7 java

For more information, see the Java 8 technology page.