How to Setup Java Path?

Install the JDK

Find the JDK installation folder

Copy the JDK bin path

Open System Properties

Open Environment Variables

Edit the PATH variable

Add the JDK bin path

Create or edit the JAVA_HOME variable

Set JAVA_HOME to the JDK folder

Save the changes

Open a new Command Prompt or terminal

Verify with `java -version`

Verify with `javac -version`

Suggested for You

Trending Today