Class 4
Class 4
=====
Version : Java 11
Software : JDK 11
Website : www.oracle.com/in/java
Tutorial : www.javatpoint.com
www.w3school.com
www.tutorialspoint.com
www.javaus.com
www.dzone.com
and etc.
Download link :
https://drive.google.com/file/d/1GtRLHXK4y3s97BH2UcYiJPNBaROR1DBV/view?
usp=drive_link
step2:
-----
Copy a "lib" directory from java_home folder.
ex:
C:\Program Files\Java\jdk-11\lib
step3:
----
Paste "lib" directory in environmental variables.
ex:
right click to This PC --> properties --> Advanced system settings -->
environmental variables --> user variables --> click to new button -->
variable name : CLASSPATH
variable value : C:\Program Files\Java\jdk-11\lib;
---> ok.
step4:
-----
Open the command prompt and check environmental variables done perfectly or
not.
ex:
cmd> javap
cmd> java -version
step2:
-----
Make sure environmental setup done perfectly.
step3:
------
Open the notepad and develop Hello World program.
ex:
class Test
{
public static void main(String[] args)
{
System.out.println("Hello World");
}
}
step4:
-----
Create a "javaprog" folder in 'E' drive.
step5:
-----
Save above program with same name as class inside "javaprog" location.
step6:
------
Open the command prompt from "javaprog" location.
step7:
------
Compile above program by using below command.
ex:
javac Test.java
|
filename
step8:
------
Run above program by using below command.
ex:
java Test
|
classname