What is the perfect way for add path of this software called JDK (Java Development Kid) to My Computer so that I can run Java program to keep Java file outside of its “bin” or form anywhere of my storage?
Download JAVA Development Kid(JDK) to my computer
Hello kamrul,
It is very easy to add a path of nay file and here you want to add a path to a file of java.
So the way is that you can install it in any of the drive and then right click on that file then there is an option of send to click that navigation and then click the button named as add shortcut to desktop.
Then you’re that file shows a shortcut to your desktop and you will easily open it from desktop with out going to the actual drive. You can also copy that file and paste it anywhere where you want's to have that file.
Another way is that you can drag and drop that file with the help of mouse key to that particular place where you want's that file to show.
Cheers.
Download JAVA Development Kid(JDK) to my computer
Hi Kamrul Islam,
Please find the step by step instruction to set the path of JDK and JRE in Windows based systems.
Windows 7
Right click Computer from the Start menu and select properties
On the left panel, select Advanced System Settings
Select Advanced Tab
Click on Environment Variables
Under User variables, create 2 variables
1.JRE_HOME and give the path of JRE installation as its value(eg:- C:Program FilesJavajre6bin;)
2.JAVA_HOME and give the path of JDK installation as its value(eg:- C:Program FilesJavajdk1.6.0_21bin;)
Under System Variables, find the variable "path" and edit it.
Insert the path of your JDK and JRE installation separated by semi colon(;) and click OK(eg:- C:Program FilesJavajdk1.6.0_21bin;C:Program FilesJavajre6bin;)
Windows XP
Start -> Control Panel -> System -> Advanced
Click on Environment Variables
Under User variables, create 2 variables
1.JRE_HOME and give the path of JRE installation as its value(eg:- C:Program FilesJavajre6bin;)
2.JAVA_HOME and give the path of JDK installation as its value(eg:- C:Program FilesJavajdk1.6.0_21bin;)
Under System Variables, find the variable "path" and edit it.
Insert the path of your JDK and JRE installation separated by semi colon(;) and click OK(eg:- C:Program FilesJavajdk1.6.0_21bin;C:Program FilesJavajre6bin;)
Now you can run any .java file located anywhere in your system
Hope it helps.