Downloading and Installing NetBeans IDE
Mục lục bài viết
1. How To Install and Get Started with Java Programming (on Windows, Mac OS and Ubuntu)
1.1. How to Install NetBeans 8.2
How
to
Install
NetBeans
on
Windows
Step 0: Install JDK
To use NetBeans for Java programming, you need to first install Java Development Kit (JDK). See “JDK – How to Install
“.
Step 1: Download
Download “NetBeans IDE” installer from http://netbeans.org/downloads/index.html
. There are many “bundles” available. For beginners, choose the 1st entry “Java SE” (e.g., “netbeans-8.2-javase-windows.exe
” 95MB).
Step 2: Run the Installer
Run the downloaded installer.
How
to
Install
NetBeans
on
Mac OS X
To use NetBeans for Java programming, you need to first install JDK. Read “How to install JDK on Mac
“.
To install NetBeans:
-
Download NetBeans from
http://netbeans.org/downloads/
. Set “Platform” to “Mac OS X
“. There are many “bundles” available. For beginners, choose “Java SE” (e.g., “
netbeans-8.2-javase-macosx.dmg
” 116MB).
-
Double-click the download Disk Image (DMG) file.
-
Double-click the “
NetBeans 8.x.mpkg
“, and follow the instructions to install NetBeans. NetBeans will be installed under “
/Applications/NetBeans
“.
-
Eject the Disk Image (“
.dmg
“).
You can launch NetBeans from the “Applications”.
Notes: To uninstall NetBeans, drag the “/Applications/NetBeans
” folder to trash.
How
to
Install
NetBeans
on Ubuntu Linux
To use NetBeans for Java programming, you need to first install JDK. Read “How to install JDK on Ubuntu”.
To install NetBeans:
- Download NetBeans from http://netbeans.org/downloads/. Choose platform “Linux (x86/x64)” ⇒ “Java SE”.
You shall receive a
sh
file (e.g.,
”netbeans-7.x-ml-javase-linux.sh
“) in “
~/Downloads
“.
-
Set the downloaded
sh
file to executable and run the
sh
file. Open a Terminal:
$ cd ~/Downloads $ chmod a+x netbeans-7.x-ml-javase-linux.sh
// Set to executable for all (a+x)
$ ./netbeans-7.x-ml-javase-linux.sh// Run
Follow the instructions to install NetBeans.
To start NetBeans, run the script “netbeans
” in the NetBeans’ bin
directory:
$ cd netbeans-bin-directory $ ./netbeans