• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Urban Penguin

The Urban Penguin - Linux Training

  • Home
  • About
  • Programming
    • Master Editing Text Files Using VIM
    • Learn Shell Scripting with BASH
    • PERL Scripting in Linux
    • Ruby Scripting in Linux
    • Scripting with PowerShell
    • Learn C Programming using Linux and the Raspberry Pi
    • General Java Tutorials
    • Java 7 OCA Exam 1ZO-803
  • OS Tutorials
    • Red Hat and CentOS Training
      • Red Hat Enterprise Linux System Administration 1 – RH124
      • RHCSA – System Admin 2 – RH134
      • RHCE – EX294 – Automation With Ansible
    • Learning Ubuntu
    • LPI Training
      • LPI Linux Essentials
      • LPIC-1 Linux Administrator
      • LPIC-2 Certified Linux Engineer
      • LPIC-3 Senior Level Certification
        • LPIC-3 Exam 300 : Mixed Environments
        • LPIC-3 Exam 303 : Security
        • LPIC-3 Exam 304 : Virtualization and High Availability
    • Linux Technologies
      • Apache HTTPD Server
      • Learning PHP
      • Learning PUPPET
      • Learning SAMBA
      • Linux File-Systems
      • Monitoring with Nagios Core
      • MYSQL
      • openLDAP Directories on Linux
You are here: Home / JAVA / JAVA : Installing NetBeans IDE 7.4 on Ubuntu

JAVA : Installing NetBeans IDE 7.4 on Ubuntu

November 9, 2013 by The Urban Penguin


The two big players in the free JAVA IDE field are NetBeans and Eclipse. jDeveloper is also out there but it seems that the former are both well used. I have been a big user of Eclipse but have recently started using NetBeans. I my opinion NetBeans has the edge of Eclipse on two areas that I have noticed. Firstly it comes with a GUI designer so no need to download additional plugins, the GUI designer is great in that it offers easy alignment of components added to form; secondly it provides  JDBC or Oracle, PostgreSQL and MySQL  drivers out-of-the-box and goes beyond that int hat a connect manager is provided to manage your SQL server.

Download and Install NetBeans

You can download the latest version of NetBeans for you OS from NetBeans.org. For Ubuntu the shell script that was downloaded was netbeans-7.4-javase-linux.sh, the installer comes bundled with the Java SDK of your choice, I choose Java SE. This will download  as a new file and will need to execute permission adding. Move to your downloads directory and add the execute bit

chmod +x netbeans-7.4-javase-linux.sh

With this set we can now commence the install running with sudo to gain rights:

sudo ./netbeans-7.4-javase-linux.sh

The installer will extract the files and start a GUI wizard for the install. This is simple and takes little time. Once installed you can access the NetBeans program from the Ubuntu Dash Home icon, just begin typing NetBeans to to start your search.

Using NetBeans

On starting NetBeans you can create a New Project from the men or button panel. Choosing a Java Application project will create the project, package and class file. So if we create anew project called JAVA. We will have the following structures created:

JAVA > Project
java > package
Java.class > Class file with main method

Once we have code on the class file we can compile and execute from the menu or using F6. If we have added additional class files and wish to run those class files then we can select the file and use SHIFT + F6 or right click on the file in the navigator and choose Run File.

The SWING designer is included and we can create JFrame classes or create forms.

Databases

Another big plus for me is the inclusion of the JDBC drivers. From the Services tab near the top left you can expand the Databases tab and see the registered drivers. You can also make connections to your own Database servers from here and crate databases and tables easily through the interface or SQL designer.

The final point to note is that if you have been using Eclipse you can import your projects from Eclipse into NetBeans 🙂



Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to print (Opens in new window)

Filed Under: JAVA

Primary Sidebar

Newest Video

The Urban Penguin On Youtube

Categories

Pages

  • About The Urban Penguin
  • Contact Us
  • Linux Technologies
    • Apache HTTPD Server
    • Learning PHP
    • Learning PUPPET
    • Learning SAMBA
    • Linux File-Systems
    • Monitoring with Nagios Core
    • MYSQL
    • openLDAP Directories on Linux
  • LPI Training from The Urban Penguin
    • Complete Linux Essentials
    • Live and Pluralsight hosted courses
    • LPI Linux Essentials
    • LPI Linux Essentials for Raspberry Pi
    • LPIC-1 Linux Administrator
    • LPIC-2 Certified Linux Engineer
    • LPIC-3 Senior Level Certification
      • LPIC-3 Exam 300 : Mixed Environments
      • LPIC-3 Exam 303 : Security
      • LPIC-3 Exam 304 : Virtualization and High Availability
  • Online Instructor-led Courses
    • Bash Scripting Masterclass
    • Nftables Masterclass
    • Red Hat Enterprise Linux System Administration 1 – RH124
    • SELinux Masterclass
  • OpenStack
    • Citrix Videos
    • Pluralsight
    • Raspberry Pi Tutorials
    • Udemy
  • Operating System Tutorials
    • Learning SUSE
    • Learning Ubuntu
    • Linux Foundation Training
    • Red Hat and CentOS Training
      • RHCE – EX294 – Automation With Ansible
      • RHCSA – System Admin 1 – RH124
      • RHCSA – System Admin 2 – RH134
    • Solaris 11 OCA 1ZO-821
  • Scripting – the power of repetition!
    • General Java Tutorials
    • Java 7 OCA Exam 1ZO-803
    • Learn C Programming using Linux and the Raspberry Pi
    • Learn Shell Scripting with BASH
    • Master Editing Text Files Using VIM
    • PERL Scripting in Linux
    • Ruby Scripting in Linux
    • Scripting with PowerShell

© 2022 The Urban Penguin · All Rights Reserved