Thursday, April 30, 2015

// // Leave a Comment

Java Setup

Java Setup

Java Environmental Setup is a Very fist step toward learning Java. Here Step by Step process to installation of Java Setup.

Steps of installation :
  •  Download JDK and JRE from the oracle website which is compatible with your machine.
  • Set the class path
    1. Temporary
    2. Permanent
Temporary: 
      1. Go to the Command Prompt
      2. Copy the path  C:\Program Files\Java\jdk1.7.0_21\bin  from C drive 

                    3. paste path on command prompt like
                       D:\> set path=C:\Program Files\Java\jdk1.7.0_21\bin;
                       I put My Java program(Amu.java file) inside the D drive so i set the path for D                                  drive....



           Permanent: 

                    1. Right Click on My Computer ->click on Properties->Advance setting
                        ->Environmental Variables->System Variables
                    2. Now goto the New Option and Paste the path on Dialog box, write path inside                                   variable  name textbox


                    click ok , now you are ready to run java Programs.

www.ease2code.com & www.mytrickstime.com

0 comments :

Post a Comment