BABA NAND SINGH UNIVERSITY



Campus :: BestPunjab




Programming Notes

HOW TO START DOING JAVA PROGRAMMING

Download Java From
https://download.oracle.com/java/25/latest/jdk-25_windows-x64_bin.exe

Double Click on Java Setup File To Install It In The Location It Shows Set The Path By Seeing The Video Below So That You Can Use Java From Anywhere https://www.youtube.com/watch?v=ZgWezLmF8qE
Download Notepad++ From https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.8.5/npp.8.8.5.Installer.x64.exe
Double Click on Setup File to install Notepad++
Download the Below Starter_Program.pdf
Study and Type It in Notepad++ and Save on D:\JAVA_PROGRAMS or in any other Folder or Directory
Open Command Prompt By Typing cmd or command on windows.
Type D: and Press Enter Key
Type cd JAVA_PROGRAMS and Press Enter Key
You will be taken to
D:\JAVA_PROGRAMS>
Now compile Starter_Program.java By Typing Following Command
D:\JAVA_PROGRAMS>javac Starter_Program.java
If it shows any error go to given line number in Notepad++ and correct the error and compile again.
If no error comes, run the program by typing
D:\JAVA_PROGRAMS>java Starter_Program
GUR FATEH !!!
Starter_Program.pdf

Fencing_Program.pdf

Tiling_Program.pdf

Bigger_Site.pdf