0% found this document useful (0 votes)
38 views

How To Set Up A Temporary Path in Java: Arvin Karl Hermosa Bsece-2

This document provides steps to set up a temporary path in Java. It instructs the user to 1) install JDK and Netbeans, 2) open the command prompt, 3) find and copy the JDK bin path from the file explorer, and 4) use the set path command in the command prompt followed by the JDK bin path copied earlier. If javac runs successfully after setting the path, it means the temporary Java path has been configured.

Uploaded by

Aram Roque
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

How To Set Up A Temporary Path in Java: Arvin Karl Hermosa Bsece-2

This document provides steps to set up a temporary path in Java. It instructs the user to 1) install JDK and Netbeans, 2) open the command prompt, 3) find and copy the JDK bin path from the file explorer, and 4) use the set path command in the command prompt followed by the JDK bin path copied earlier. If javac runs successfully after setting the path, it means the temporary Java path has been configured.

Uploaded by

Aram Roque
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Arvin Karl Hermosa

BSECE-2

How to Set Up a Temporary Path in Java

1.) First of all, we have to finish the installation of both JDK and Netbeans

2.) After finishing the installation. Click the start button and type run.
3.) Open the “run” app and type cmd to enter the command prompt.

4.) Find the JDK path by going to:

File explorer-> Local Disk C -> Program Files -> Java -> JDK version you are
using -> bin.

After this, copy the file location as shown in the picture.


5.) For the last step, go back to the command prompt and write the
following:
set path=”the path you copied in the previous step”, then click enter. In
the next line, type javac and press enter again.

Example: set path=C:\Program Files\Java\jdk-16.0.2\bin

6.) After doing all the steps, your command prompt should look like the
image below. This means that you have successfully set up a temporary
java path.
Reference:

https://www.youtube.com/watch?
v=TNAIycp2G2Y&ab_channel=DineshMaharjan

You might also like