Java is a programming language and computing platform first
released by Sun Microsystems in 1995. There are lots of applications and
websites that will not work unless you have Java installed, and more are
created every day. Java is fast, secure, and reliable. From laptops to
datacenters, game consoles to scientific supercomputers, cell phones to the
Internet, Java is everywhere!
Installation of Java
1.Download
2.install
3.Set path
1.Download:
•Goto Java SE download site @ http://www.oracle.com/technetwork/java/javase/downloads/index.html
•Under "Java Platform, Standard Edition" ⇒ "Java SE 8u{xx}", where {xx} is the latest update number ⇒ Click the "JDK Download" button.
•Look for the latest "Java SE Development Kit 8u{xx}" ⇒ Check "Accept License Agreement".
•Choose the JDK for your operating system, e.g., "Windows x64" (for 64-bit Windows OS) or "Windows x86" (for 32-bit Windows OS). You can check whether your Windows OS is 32-bit or 64-bit via "Control Panel" ⇒ (Optional) System and Security ⇒ System ⇒ Under "System Type".
•Run the downloaded installer (e.g., "jdk-8u{xx}-windows-x64.exe"), which installs both the JDK and JRE. By default, the JDK will be installed in directory "C:\Program Files\Java\jdk1.8.0_xx", where xx denotes the upgrade number; and JRE in "C:\Program Files\Java\jre1.8.0_xx".
•Accept the defaults and follow the screen instructions to install JDK and JRE.
•Check the JDK installed directory by inspecting these folders using File Explorer. Take note of your JDK installed directory, in particular, the upgrade number, which you will need in the next step.
PATH VARIABLE :
It specifies set of directories where executable programs are located.
After Compilation of helloworld.java we will get .class file.



No comments:
Post a Comment