Getting Started with NetBeans in the Classroom
I teach programing because it provides me with challenges in keeping up with the many languages out there and in discovering and using new ways to present them to my students.
What I am not fond of is being technical support for my students for the tools they use. That is why I prefer NetBeans over other development environments.
About 75% of my students use Windows and the other 25% use OS X. My instructions for installation given to students who have never programmed before are quite simple.
Download and install the most recent version of the Java SDK. While they could include NetBeans in their download at this point, I want them to see both Oracle’s web site and the NetBeans web site. I tell the students to allow the installer to put Java where it wants to place it.
Download and install NetBeans. I recommend the Java EE version, unless the students plan to take PHP and then I recommend the All version. At the first screen, I tell my students to click on the Customize button.
Step 3: (OS X)
Customize allows the student to check off for Tomcat. For OS X users the list of choices for Customize are:
I tell them to check the box for installing Tomcat in addition to Glassfish. From this point, there are no more choices for OS X. The install can go ahead.
Step 3: (Win 7, 8, 8.1)
Customize allows the student to check off for Tomcat. For Windows the choices for Customization are:
Step 4: (Win 7, 8, 8.1)
There are no further steps for OS X users. For Windows users, I ask them to change the default installation directories for NetBeans, GlassFish, and Tomcat.
The default directory on Windows is C:\Program Files. As developers, I tell them that they will want easier access to the tool and servers. I have one personal quirk that I impose on my students and that is not to use spaces in the name of folders for the tools, servers, and their projects.
My students will struggle with their code but they rarely struggle with NetBeans.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)