How to Set Java Path

To run any Java based application, system needs to have JRE/JDK installed in it. Like when you want to run Ecilpse IDE which is built on JAVA only, needs to have JAVA installed on the system, but even after installation you will face issue to run the Eclipse as you have not configure the environment path.

So, while opening the Eclipse you are facing issue like “No JAVA virtual machine was found after searching” then you have not set the JAVA path into environment variables.

jdk unavailable

This issue can be resolved by defining the JAVA path into environment variables. In this, post we are going to demonstrate how to set Java path into environment variables for Windows, Mac, and Linux.