Get started with Java today
Download Java for Desktops.Free Java Development Kit (JDK) downloads and resources from Oracle, the stewards of Java.
Download Java for Desktops.Free Java Development Kit (JDK) downloads and resources from Oracle, the stewards of Java.
Reopen Command prompt window, and run your java code. Mac OS X. To run a different version of Java, either specify the full path, or use the java_home toolIf the version is old or you get the error java: Command not found then the path is not properly set.
This download is for end users who need Java for running applications on desktops or laptops. Java 8 integrates with your operating system to run separately installed Java applications. If you were asked to install Java to run a desktop application, it's most likely you need this version.
Install Java through command prompt so that it can generate necessary log files to troubleshoot the issue. Goto java.com and click on the Free Java Download button.cd <Java download directory> (for example Downloads or Desktop etc.)