There are to learn for path set of virtually in cmd command prompt.
Which is used for temporally set path at the time of compile and run code. It is a techniques for good programmer and developer. If you are a good developer and you have own java source code then you want to compile code on other pc's if you dont want to set permanently then you can path set in java to cmd temporally so it's need.
Some steps follow here:
Step 1: You have to install java in your system(PC).
Step 2: Then open COMMAND PROMPT go to start then type cmd and enter.
Step 3: Then go to where your source code stored in your drive and folder.
Step 4: Then type command "set path=C:\Program Files\Java\jdk1.7.0_45\bin".
Step 5: If dont want to type then go to your c drive where your java install like program files>java>jdk>bin something like copy to path and paste on cmd after this set path=paste here.
Step 6: Then you can compile and run easily.
If you have any problem then comment here for better solution.
Comments
Post a Comment