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