Chapter 4. Installing JBoss Web Server on Solaris
4.1. Installing a Java Development Kit (JDK)
Procedure 4.1. Installing Java
- Download the Oracle JDK 1.7 or 1.8 for your operating system and architecture. You can download the JDK installation file from the Oracle website: http://www.oracle.com/technetwork/java/javase/downloads/index.html.
- Run the Java installation file.
/usrat a shell prompt, and run the following command to display the current Java symbolic link:
ls -lad java
- Remove the link:
- Create a Java symbolic link to the newly installed JDK:
ln -sf /usr/jdk/<JDK>