Logo

Navigation
  • Home
  • Services
    • ERP Solutions
    • Implementation Solutions
    • Support and Maintenance Solutions
    • Custom Solutions
    • Upgrade Solutions
    • Training and Mentoring
    • Web Solutions
    • Production Support
    • Architecture Designing
    • Independent Validation and Testing Services
    • Infrastructure Management
  • Expertise
    • Microsoft Development Expertise
    • Mobile Development
    • SQL Server Database and BI
    • SAP BI, SAP Hana, SAP BO
    • Oracle and BI
    • Oracle RAC
  • Technical Training
    • Learn Data Management
      • Business Intelligence
      • Data Mining
      • Data Modeling
      • Data Warehousing
      • Disaster Recovery
    • Learn Concepts
      • Application Development
      • Client Server
      • Cloud Computing Tutorials
      • Cluster Computing
      • CRM Tutorial
      • EDI Tutorials
      • ERP Tutorials
      • NLP
      • OOPS
      • Concepts
      • SOA Tutorial
      • Supply Chain
      • Technology Trends
      • UML
      • Virtualization
      • Web 2.0
    • Learn Java
      • JavaScript Tutorial
      • JSP Tutorials
      • J2EE
    • Learn Microsoft
      • MSAS
      • ASP.NET
      • ASP.NET 2.0
      • C Sharp
      • MS Project Training
      • Silverlight
      • SQL Server 2005
      • VB.NET 2005
    • Learn Networking
      • Networking
      • Wireless
    • Learn Oracle
      • Oracle 10g
      • PL/SQL
      • Oracle 11g Tutorials
      • Oracle 9i
      • Oracle Apps
    • Learn Programming
      • Ajax Tutorial
      • C Language
      • C++ Tutorials
      • CSS Tutorial
      • CSS3 Tutorial
      • JavaScript Tutorial
      • jQuery Tutorial
      • MainFrame
      • PHP Tutorial
      • VBScript Tutorial
      • XML Tutorial
    • Learn Software Testing
      • Software Testing Types
      • SQA
      • Testing
  • Career Training
    • Career Improvement
      • Career Articles
      • Certification Articles
      • Conflict Management
      • Core Skills
      • Decision Making
      • Entrepreneurship
      • Goal Setting
      • Life Skills
      • Performance Development
      • Personal Excellence
      • Personality Development
      • Problem Solving
      • Relationship Management
      • Self Confidence
      • Self Supervision
      • Social Networking
      • Strategic Planning
      • Time Management
    • Education Help
      • Career Tracks
      • Essay Writing
      • Internship Tips
      • Online Education
      • Scholarships
      • Student Loans
    • Managerial Skills
      • Business Communication
      • Business Networking
      • Facilitator Skills
      • Managing Change
      • Marketing Management
      • Meeting Management
      • Process Management
      • Project Management
      • Project Management Life Cycle
      • Project Management Process
      • Project Risk Management
      • Relationship Management
      • Task Management
      • Team Building
      • Virtual Team Management
    • Essential Life Skills
      • Anger Management
      • Anxiety Management
      • Attitude Development
      • Coaching and Mentoring
      • Emotional Intelligence
      • Stress Management
      • Positive Thinking
    • Communication Skills
      • Conversation Skills
      • Cross Culture Competence
      • English Vocabulary
      • Listening Skills
      • Public Speaking Skills
      • Questioning Skills
    • Soft Skills
      • Assertive Skills
      • Influence Skills
      • Leadership Skills
      • Memory Skills
      • People Skills
      • Presentation Skills
    • Finding a Job
      • Etiquette Tips
      • Group Discussions
      • HR Interviews
      • Interview Notes
      • Job Search Tips
      • Resume Tips
      • Sample Resumes
 

How to Install and Use NetBeans for Java Development

By Exforsys | on June 26, 2005 |
J2EE

How to Install and Use NetBeans for Java Development

In this guide, I will try to explain you how you can run examples for J2EE tutorials. There are many ways you can do this, here we will be using the examples in NetBeans IDE which is one of the most powerful open source Java integrated development environments available.

The main reason for not selecting another open source IDE like Eclipse is that newest version of NetBeans has built-in free J2EE support. This allows the new users to be able to see the results of examples without any problems and start J2EE development very quickly.

Although the examples are prepared as a NetBeans project, you can still run them in your choice of environment since the codes are prepared are compatible with J2EE standards.

The rest of this guide tries to describe how you can prepare a NetBeans development environment. If you already have an installed NetBeans 4.1 (it should be version 4.1) you can skip this tutorial an open the examples in NetBeans directly. If something does not work with your previous installation, we recommend you to uninstall the previous installation and do a clean install with the instructions in this tutorial.

Requirements

You need to have Java2 Standard Edition (J2SDK) and NetBeans IDE to be able to run the examples.
If you do not know whether you have a working Java2 Standard Edition or not, please follow the steps written in the second section named as “Installation of J2SDK an NetBeans”

If you have already installed Java2 Standard Edition please read the third section named as “Installation of NetBeans”.

Installation of J2SDK and NetBeans

You first need to install J2SDK from the following address.

http://java.sun.com/j2se/1.5.0/download.jsp

Please download “JDK 5.0 Update 3” and do not prefer other downloads like the bundle which contains NetBeans. This is necessary since we need to download NetBeans bundled with Sun Application Server and will download it separately.

The installation instructions of J2SDK 5.0 are available in its download page. Please follow those instructions and install J2SK 5.0 before continuing.

After the installation please read the third section named as “Installation of NetBeans” to install NetBeans on top of J2SDK.

Installation of NetBeans

You need to install NetBeans by following the written below. You will see something like Figure-1 in that page.

http://www.netbeans.info/downloads/download.php?type=4.1

You should select your platform from the “Operating System” list and click “Next” button. The next page will be very similar to the one in Figure-2 if you select “Windows” operating system. (A similar page will be shown for Linux users)

Figure-2 NetBeans Installation – Second Page

You should click the “Next” button at the right of the “NetBeans IDE + Application Server 8.1 Bundle Installer” and download the file from the next page. Note that installation instructions are available at this page..

After the installation please read the fourth section named as “How to run examples using NetBeans”.

How to run examples using NetBeans

If you have successfully installed NetBeans you will find an icon on your desktop for NetBeans. When you double click on the NetBeans icon, NetBeans IDE will be opened as shown in Figure-3.

Figure-3 First look of NetBeans IDE

Running J2EE examples after this point is very simple, since we prepared the examples as NetBeans projects. Finding the project folder in “Open Project…” dialog and double clicking on it will open the project in NetBeans. The detailed instructions are written below.

You should select “Open Project…” from the “File“menu. Then you need to find the projects folder where you extracted the “projects-source.zip” file. Figure-4 shows what you will see if you find the projects folder.

Figure-4 Open Project dialog in NetBeans IDE

You will probably notice that project directories seem different than normal directories in the “Open Project…” dialog. After selecting the project directory, clicking on “Open” button will open the project in NetBeans. If you click “Run Main Project” button on the toolbar after the project is opened, the project will be run.

« « .NET Common Windows Forms Controls Part 1
DomainUpDown and NumericUpDown Controls » »

Author Description

Avatar

Editorial Team at Exforsys is a team of IT Consulting and Training team led by Chandra Vennapoosa.

Free Training

RSSSubscribe 394 Followers
  • Popular
  • Recent
  • Java for Stand-Alone Applications

    November 26, 2005 - 0 Comment
  • How Code Reviews and PMD Can Crush Bugs In Your Code

    July 3, 2006 - 0 Comment
  • Java Virtual Machine

    July 13, 2006 - 0 Comment
  • Keep it Simple And Secure with Java

    December 2, 2005 - 0 Comment
  • How To Create a Java Server Application

    July 3, 2006 - 0 Comment
  • What You Can Do To Deal With Java’s Memory Retention Problems

    July 22, 2006 - 0 Comment
  • New Features In Java 5.0 – From Managers Point of View

    November 26, 2005 - 0 Comment
  • How To Create High Quality Tables With JavaScript

    July 5, 2006 - 0 Comment
  • What You Should Know About Java XML

    July 25, 2006 - 0 Comment
  • New Features in Java 5 – From Programmers Point of View

    November 26, 2005 - 0 Comment
  • Why It is Important To Focus On Java Exceptions For Your Programs

    July 27, 2006 - 0 Comment
  • Important Features of Java – Multithreading, AWT

    July 26, 2006 - 0 Comment
  • What You Should Know About Java XML

    July 25, 2006 - 0 Comment
  • What You Can Do To Deal With Java’s Memory Retention Problems

    July 22, 2006 - 0 Comment
  • Java Overview

    July 17, 2006 - 0 Comment
  • How To Use Java DB as Your Client Mobile Database

    July 14, 2006 - 0 Comment
  • How To Run J2ME Programs on Palm Devices

    July 14, 2006 - 0 Comment
  • Java Virtual Machine

    July 13, 2006 - 0 Comment
  • Quickly Develop Java Programs With Tapestry

    July 12, 2006 - 0 Comment
  • A Java TOC2 Class Which Can Contact Aim

    July 12, 2006 - 0 Comment

Exforsys e-Newsletter

ebook
 

Related Articles

  • Why It is Important To Focus On Java Exceptions For Your Programs
  • Important Features of Java – Multithreading, AWT
  • What You Should Know About Java XML
  • What You Can Do To Deal With Java’s Memory Retention Problems
  • Java Overview

Latest Articles

  • Project Management Techniques
  • Product Development Best Practices
  • Importance of Quality Data Management
  • How to Maximize Quality Assurance
  • Utilizing Effective Quality Assurance Strategies
  • Sitemap
  • Privacy Policy
  • DMCA
  • Trademark Information
  • Contact Us
© 2023. All Rights Reserved.IT Training and Consulting
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptReject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT