About Me
Search
Sanjula Lakpahana. Powered by Blogger.
Popular Posts
-
JavaScript with HTML You have to use JavaScript with HTML if no you cannot run it in browser.When using Javascript with HTML following...
-
I think to give you java tutorials because i saw most of them are don't know Java accurately and completely. From today I'm Starti...
-
Hey friends I think you have read the post about The introduction to Java.Now we are going to start.Before coding we have to setup your ...
-
The History of Visual Basic Alan Cooper, the 'Father' of Visual Basic, shows a drag-and-drop shell prototype called Tripod...
-
Programming Environment In this section, you will learn about the different elements of the Visual Basic development environment. When...
Categories
- Java (2)
- JavaScript (2)
- VB 6 (3)
Sunday, February 24, 2013
Java - Setup Your Computer for Java
Hey friends I think you have read the post about The introduction to Java.Now we are going to start.Before coding we have to setup your computer for Java....Read
Downloading Java (JDK)
First we have to download Java Development Kit (JDK) without it we cannot do anything.ForDownloading Go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html
click Java Platform in this page(see above image red rectangle)
Then accept the license agreement after that download jdk relevant to your Operating System
Install the Java JDK you downloaded.If you don't know how to install see here the video.This video is not mine but really good video.
Configuring Paths
Before starting we have to set paths for compiling.
1.First go to System Properties(right click My computer and click properties)
2.Go to advanced tab
3.Click Environmental Variable in bottom of Advanced tab
4. find PATH variable in System Variables. click it once and click edit in below
5.Go to the end of the text in variable value put a comma(,) and type
C:\Program Files\Java\jdk1.6.0\bin this will be change according to your computer.How ever it must set the path to jdk bin
Follow following Pics
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzl_9mfZMqQNpiqqj-MpWwI1keoxkMF7myfQsD84fjIL8KnSR7oygEWAV2f2qE4x_1dbNoygbREepOd8vHOgfBURk-THFOO7jUtMEGVLSsv1ERyyVJpZveH3thT1WicE0hUoWrLZohSbIX/s320/jv1.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqhEJX4H1DPwxFEou5LpTiPRaJb7rcDMniKfzWGKkcmkG7L3IuG2Ts71onyGTXv6sJPwDOePrRUO9MmJZZ1NKfPjC6EvaZaeb275dnwiTjKESb1OrzfnZFXuJwt3wfFWp8QONrpC8g3URS/s320/jv4.png)
Testing the Path
For testing the Path of java,1. Go to Command prompt
2.type javac and press enter. If it showed like follows your are ok. If not install again and set paths
3.type java and press enter If it showed like follows your are ok. If not install again and set paths
Bye
Labels:
Java
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment