Sunday, July 13, 2014

Setting Java Compiler on Computer

Follow the instructions and screenshots to set java compiler on your computer.

At first go to the start menu on your computer and click the run button.Then write cmd in the search space.Next you can see the command dialogue box.There you have to write javac for search java compiler.But there you will see "javac is not recognized".

For that reason there is no java compiler set in your computer.So,you have to set java compiler on your computer.So that you can compile any kind of java program.

So after installing the JDK(java development kit),follow me.
1.First go to C drive or where you install the JDK on "my computer".
2.Then go to program files.
3.After that go to java folder.
4.Next you have to go jdk folder.
5.Go to the bin folder.
6.So,after going to that folder you have to right click on any file under that folder and click the properties.
7.Copy the location(ex:C:\Program Files\Java\jdk1.8.0_05\bin) from the dialogue box.
8.Go to my computer properties.And go to advance system setting.
9.Then click environment variable.
10.After that a new dialogue box appeared.Then you have to click New button and paste the location with the name "path".At last press ok, ok, ok and ok.
11.Then again go to run and write cmd.
12.Then in cmd dialogue box write javac and press enter.

In this way you can set java compiler in your computer

Here is some screenshots for your help.
Screenshots

Step one
Step two


Step three


Step four

Step five

Step six

Step seven

Step eight

Step nine

Step ten

Step eleven

Step twelve


Step thirteen


No comments: