Professional Documents
Culture Documents
Lab 00 Installation of JDK & IDE NeatBeans
Lab 00 Installation of JDK & IDE NeatBeans
To develop and run Java applications, you’re required to download and install JDK. The JDK
can be installed on the following platforms:
a. Microsoft Windows
b. Linux
c. macOS
1. You can download the JDK from JDK SE Development Kit Download page or by
clicking below link:
https://www.oracle.com/my/java/technologies/downloads/
1
SEGi University
Level 2 TCS 3064: Object-Oriented Programming
1. Start the JDK 13 installer by double-clicking the installer's icon or file name in the
download location.
2. Follow the instructions provided by the Installation wizard
2
SEGi University
Level 2 TCS 3064: Object-Oriented Programming
4. After the installation is complete, delete the downloaded file to recover the disk space.
NetBeans provides seamless support for Java AWT/Swing, Java ME mobility pack, Java EE, and
bundled with an excellent profiler for performance tuning.
3
SEGi University
Level 2 TCS 3064: Object-Oriented Programming
https://www.apache.org/dyn/closer.cgi/netbeans/netbeans-installers/16/Apache-
NetBeans-16-bin-windows-x64.exe
There are many "bundles" available. For beginners, choose the 1st entry "Java SE" (e.g.,
"netbeans-8.2-javase-windows.exe" 95MB).
4
SEGi University
Level 2 TCS 3064: Object-Oriented Programming
6. To launch the IDE, use either the start menu or the NetBeans desktop icon.
1) Maximizing Window (double-click): You can double-click on the "header" of any panel
to maximize that particular panel, and double-click again to restore it back. This is
particularly useful for editing source code in full panel.
5
SEGi University
Level 2 TCS 3064: Object-Oriented Programming
6
SEGi University
Level 2 TCS 3064: Object-Oriented Programming
15) Code Templates: For example, when you create a new Java class, NetBeans retrieves the
initial contents from the "Java Class" code template. To configure code templates, select
"Tools" menu ⇒ "Templates" ⇒ Choose the desired template ⇒ "Open in Editor". To set
a value of a variable used in the all the code templates (e.g., $User), select "Tools" menu
⇒ "Templates" ⇒ "Settings".
16) Displaying Chinese Character: Need to choose a font that support chinese character
display, such as "Monospace", in Tools ⇒ Options ⇒ Fonts & Colors ⇒ Syntax ⇒
default.
17) Changing the JDK Location: The Netbeans configuration file is located at "etc\
netbeans.conf". Edit the directive "netbeans_jdkhome".
7
SEGi University