You are on page 1of 1

Run your first program

Step 1: Java Installation(JDK 8) – Download JDK from google drive

Windows PC(32 bit)


https://drive.google.com/file/d/1sH9KcOzX5MYKDtyI3H21dDbtSp2NRZYv/view?usp=sharing

Windows PC(64 bit)


https://drive.google.com/file/d/1X7XQLTKDdikpo85EMShsO4jha2ucwkHn/view?usp=sharing

Execute the file. Press next option and proceed wisely.

Step 2 : Set PATH and CLASSPATH

Option 1 : Set PATH and CLASSPATH environment variables within OS

https://www.javatpoint.com/how-to-set-classpath-in-java

Option 2 : Set PATH environment variable within Command prompt(Each time you open a command
prompt. Tedious!!)

Open command prompt (Press +r,type cmd )

Set Path = "C:\Program Files\Java\jdk1.8.0_261\bin"

Step 3 : Write , Compile and Run your first program

Open notepad (Type + r, type n otepad )

Write – your first program in notepad

Compile – javac Hello.java

Run – java Hello

FOR MOBILE USERS


Android phone(Programming Hub) :
https://play.google.com/store/apps/details?id=com.freeit.java&hl=en_IN

Video : https://www.youtube.com/watch?v=I9uGDikILSk

Android phone(AIDE) :
https://play.google.com/store/apps/details?id=com.aide.ui&hl=en_IN

video : https://www.youtube.com/watch?v=6mk8NgolPwA

You might also like