Step 1: Download jdk10 from Oracle Website.
https://www.oracle.com/java/technologies/java-archive-javase10-downloads.html
Step 2: Click on downloaded dmg file.
Click on the icon ‘JDK 10.0.2.pkg’.
Click on Continue button.
Click on Install button.
Once installation is successful, you can see ‘Install Succeeded’ screen’. Click on Close button.
Open terminal and execute the command 'java -version' to see whether java installed successfully or not.
$java -version
java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
Previous Next Home
No comments:
Post a Comment