Saturday, 11 January 2014

Download java sdk

Downloading java is not similar to any other interface. For example to download turbo C, you just need to download turbo C software and no need to make any changes in your computer. But for java to work we have to make some changes as Java applications are typically compiled to bytecode (class file) that can run on any Java virtual machine (JVM) regardless of computer architecture.

 So just follow the steps give below:

Step 1: To download java click here. Make sure that you download Java SE (Standard Environment) not netbeans.
Step 2: After that you will get two filles: 1) jdk1.7.0_45 2) jre7
If you type javac in your command prompt it says that java is not recognized even if it is downloaded in your system
Step 3: Goto to jdk1.7.0_45----->bin------->copy the location of the file.
Step 4: Goto my computer and right click to go in properties.
Step 5: Then in advanced settings click on environment variables and click on new.
Step 6: Give the name exactly as "Path" (without quotes) and paste the address that you have copied in step 3 and click on OK.
Now go to command prompt and type javac. You will see all the files related to java!
A video is provided here. You can follow it if you are bit confused!



No comments:

Post a Comment