Tuesday, January 20, 2015

Java: installation



Find out if you have Java


$ which java

/usr/bin/java

$ whereis java
/usr/bin/java

$ ls -al /usr/bin/java | grep java
lrwxr-xr-x  1 root  wheel  74 Nov 17 08:13 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

Verify that you have Java version 1.8


$ java -version
java version "1.8.0_20-ea"
Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b05)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b05, mixed mode)

uki@ CNH_PROD $ 


Install Java if you need it


Windows:
https://www.java.com/en/download/help/windows_manual_download.xml


Mac:
https://www.java.com/en/download/faq/java_mac.xml


Linux:
https://www.java.com/en/download/help/linux_x64_install.xml