Study Guide: Object Oriented Programming (OOP)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

BICOL UNIVERSITY POLANGUI CAMPUS

Polangui, Albay

STUDY GUIDE

OBJECT ORIENTED PROGRAMMING


(OOP)

Study Guide #1
Lesson 1: Getting Started with Java
Topics covered on this lesson:

 Downloading Java JDK


 Installing Java JDK
 Downloading NetBeans
 Installing NetBeans
 Setting the PATH/ClassPath for command prompt environment.

Objectives:

At the end of the lesson, the student must be able to:

1. Download Java JDK


2. Install Java JDK
3. Download NetBeans
4. Install NetBeans
5. Set the PATH/ClassPath environment variable

Lesson 1.1: Downloading Java JDK (Java Development Kit)

1. Got to https://www.oracle.com/technetwork/java/javase/downloads/index.html.
2. Click the download link, Oracle JDK.

3. Select your operating system (64 or 32 bit).


4. Click the jdk-16.0.2_windows-x64_bin.exe link.

3 4
5. Accept the license agreement on the Oracle website.
6. Click the Download link.

6
7. Check the windows task bar for download status. Wait for the download to finished.

8. Congratulations! You successfully downloaded the Java JDK, you are now ready to proceed to the
next topic.

Note: You can also download Java JDK and NetBeans in one package.

Lesson 1.2: Installing Java JDK.


1. Click the Java JDK in the Windows task bar. (if not in the Windows task bar, look for the
Downloads folder in your computer, double click the Java JDK or right click then click open to
start the installation.)

1
7
2. Click Yes button from the popup window that says “Do you want to allow this app to make
changes to your device?”.

2
7
3. Click Next button from the Welcome screen window.

3
7
4. The next window that appears is for your installation folder, click Change button if you want to
change the default installation folder, for now, you can use the default installation folder by
clicking the Next button.

4
7
5. The next screen is your status indicator window, wait for the installation to finished.

5
6. Congratulations! Java JDK is now successfully installed! Click the Close button to exit the
Complete screen window.

Lesson 1.3 – Downloading NetBeans


1. Go to https://netbeans.apache.org/download/nb113/index.html.

2. Click on Download button.

2
3. Click Apache-NetBeans-11.3-bin-windows-x64.exe (SHA-512, PGP ASC) from the Installers to
download NetBeans-11.3.

4. Check the windows task bar for download status. Wait for the download to finished.

Lesson 1.4: Installing NetBeans IDE

1. After download complete, click on the Apache-NetBeans…exe to start installation. (if not in the
Windows task bar, look for the Downloads folder in your computer, double click the
Apache-NetBeans…exe or right click then click open to start the installation.)

2. The User Account Control window appears asking if you want to allow the app to make changes
to your computer/device. Click the Yes button.

2
3. Wait till the Configuring window is finished.

4. Click the Next button from the welcome screen window.

5. Click I accept the terms and license agreement, then Click Next button from the License
Agreement screen window.

5
6. Click the Next button from the Choose the installation folder and JDK window.

7. From the Summary window that appears, Click Install button to start the installation.

8. Please wait while the wizard prepares the installation data.

8
9. Please wait while the installer installs Apache NetBeans IDE and runtimes

10. Congratulations! Setup Complete. Click Finish button to complete the Apache NetBeans IDE
setup.

10

Note: To checked for successful installation, go to your Desktop and look for the icon Apache NetBeans
IDE 11.3 shortcut, or click the Start Menu button and check for Apache NetBeans IDE 11.3 program.

Apache NetBeans IDE


11.3
Desktop
Shortc
ut

Start Menu Button


Lesson 1.5: Setting the PATH/ClassPath Environment Variable

1. Click File Explorer on your task bar.


2. Right Click This PC
3. Select Properties

4. Click on Advanced system settings.


5. Click on Environment Variables.
6. Click on new Button of User variables
7. Type PATH in the Variable name.

8. Copy the path of bin folder which is installed in JDK folder.


9. Paste Path of bin folder in Variable value
10. Click on OK Button.
11. You can follow a similar process to set CLASSPATH.
12. Click OK
13. Go to command prompt and type javac commands.

Congratulations! You successfully set the Java JDK Path/ClassPath Environment variable

Activities:

Activity No. 1: Download Java JDK and take a screenshot if successfully downloaded in your
computer/laptop/cp, submit your screenshot at our google drive inside your activity folder.

Activity No. 2: Install Java JDK and take a screenshot if successfully installed in your
computer/laptop/cp, submit your screenshot at our google drive inside your activity folder.

Activity No. 3: Download NetBeans and take a screenshot if successfully downloaded in your
computer/ laptop/cp, submit your screenshot at our google drive inside your activity folder.

Activity No. 4: Install NetBeans and take a screenshot if successfully installed in your computer/
laptop/cp, submit your screenshot at our google drive inside your activity folder.

Activity No. 5: Set the Path/ClassPath environment variable and take a screenshot if successfully
setup in your computer/laptop/cp environment.

References:

1. https://www.homeandlearn.co.uk/java/getting_started_with_java.html
2. https://netbeans.apache.org/download/nb113/index.html.
3. https://www.oracle.com/technetwork/java/javase/downloads/index.html.

You might also like