NetBeans IDE Installation Guide

by Son Rokhaniawan Perdata, S.T | 10:58 AM in , | comments (0)

Windows

On Microsoft Windows platforms, you can pick from one of the following downloads:

  • Self-extracting installer
  • Archive distribution
Using the Windows Installer

Once you have downloaded the installer file, double-click the file to start the installation wizard. The installer enables you to specify:
  • the Java™ 2 Software Development Kit to run the IDE on.
  • which directory to install NetBeans IDE into.
  • whether to associate .java and .nbm (NetBeans module files) with the IDE.
To launch NetBeans IDE, do one of the following:
  • Double-click the NetBeans IDE icon on your desktop.
  • Select NetBeans IDE | NetBeans IDE 3.6 | NetBeans IDE from the Start menu.
Using Archive Installations on Windows Machines

While the installer described above is the preferred method of installation on Microsoft Windows machines, you can also install NetBeans IDE using a tar.gz or zip file. Common archive utilities like Winzip can work with both of these file types.

To install NetBeans IDE:
  1. Locate the archive that you have downloaded and double-click it to open your archive file tool.
  2. Using your archive tool, extract all files to an empty directory, such as C:\NetBeans IDE 3.6.
To launch NetBeans IDE:
  1. Navigate to the bin subdirectory of your NetBeans IDE installation.
  2. Double-click runide.exe to start NetBeans IDE.
Solaris™ Operating System (Solaris OS) and Linux Platforms

On the Solaris and Linux platforms, you can pick from one of the following downloads:
  • Binary installer
  • Archive distribution
Using the Solaris and Linux Installers

To install NetBeans IDE:
  1. From a command prompt, navigate to the directory that contains the installer.
  2. If necessary, change the permissions to make the binary executable by typing $ chmod +x NetBeans.bin (replacing NetBeans.bin with the actual filename of the distribution that you downloaded).
  3. Start the installer by typing $ ./NetBeans.bin (replacing NetBeans.bin with the actual filename of the distribution that you downloaded).
The installer will search for any installed J2SDKs and prompt you for which NetBeans IDE should use. You can specify a J2SDK at the command line, which might speed the installation process. For example:

$ ./NetBeans.bin -is:javahome path_to_your_jdk

Using Archive Installations on UNIX® platforms

To install NetBeans IDE:, use the appropriate tools on your platform to untar or unzip the archive distribution to a clean directory. For example, type the following from a command prompt:

$ gzip -d NetBeans.tar.gz
$ tar xf NetBeans.tar

(replacing NetBeans.tar.gz and NetBeans.tar with the actual file names).

Note: Solaris users should use GNU tar for tar.gz files to ensure that the whole archive is unpacked.

To launch NetBeans IDE, change directories to the bin subdirectory of your installation and execute the runide.sh launcher script.

Macintosh OS X

On the Macintosh OS X platform, you can pick from one of the following downloads:
  • Disk image format (.dmg) file
  • Archive distribution
Note: Mac OS users should use the .dmg file, which has a patch to fix the problem that is cited in issue 39780. If you install an archive distribution of the IDE on Mac OS, you could have problems properly shutting down the IDE.

Using the disk image format (.dmg) file

Once you have downloaded the image file, double-click the file to mount the file in your system.

To launch NetBeans IDE, run the NetBeansLauncher application.

Using Archive Installations on the Mac OS platform

To install NetBeans IDE:

  • Open the Terminal application and change directories to where you would like to install the IDE. On the command line type:

gnutar -xvzf netbeans.tar.gz

(replacing NetBeans.tar.gz with the actual filename of the distribution that you downloaded).

To launch NetBeans IDE, change directories to the bin subdirectory of your installation and execute the runide.sh launcher script.

Other Operating Systems

Using Archive Installations
Unpack your archive using the utilities appropriate for your system.

To launch NetBeans IDE, navigate to the bin subdirectory of your NetBeans IDE installation and execute the launcher that is appropriate for your system. The following launchers are available:

runide.exe - Windows
runidew.exe - Windows (no console window)
runide.sh - UNIX
runideos2.cmd - OS/2
runideopenvms.com - OpenVMS

If there is no launcher for your specific operating system, you might need to try to create one by modifying whatever script is most appropriate. If your machine supports JDK 1.4 or greater, you should be able to run the IDE.

Note: If you create a launcher, you could contribute it to the project.

Installing on beta versions of Java™ 2 Software Development Kit (J2SDK), v. 1.5

You can run the IDE on betas of J2SDK v. 1.5, but the installer will not run if that is the only J2SDK that you have on your system. You must also have J2SDK v. 1.4.1 or compatible installed to run the installer. Once the installer is running, you can specify that the IDE should run on J2SDK v. 1.5 beta.

[+/-] Read More...

NetBeans!

by Son Rokhaniawan Perdata, S.T | 12:07 PM in , , | comments (0)

1. What is NetBeans?
NetBeans is an open-source Integrated Development Environment (IDE) you can download and use for free. NetBeans is also an extensible platform which you can use to build OS-independent applications. Finally, NetBeans is a thriving open-source community with hundreds of thousands of experienced developers located all around the world. More information.

NetBeans Editor


2. How Do I Get Started?

Download the NetBeans IDE. It has everything you need develop world-class applications. NetBeans software is a 100% Java-based IDE and platform, so it works on every OS where the JDK is available. NetBeans supports a wide range of Java technologies, but is not limited to Java - other languages are supported as well. The NetBeans tools have so much functionality, you can choose which download is best for you. Learn more about supported technologies and features on the features page. You can add more functionality with plug-in modules (in the IDE, choose Tools > Plugins).

3. Where Can I Get Involved?
There is a thriving worldwide community of NetBeans users out there, ranging from new users to gurus. Join them to discuss tips and tricks, NetBeans features, problem solving and much more. Sign up now!

4. How Do I Learn More?
There is a wealth of knowledge here on netbeans.org to get your teeth into, with new content being posted weekly. Tutorials, articles, guides, demos and screencasts.

Welcome! We hope your visit is pleasant.

[+/-] Read More...

About the Java Technology

by Son Rokhaniawan Perdata, S.T | 12:00 PM in , | comments (0)

Java technology is both a programming language and a platform.

The Java Programming Language

The Java programming language is a high-level language that can be characterized by all of the following buzzwords:

  • Simple
  • Architecture neutral
  • Object oriented
  • Portable
  • Distributed
  • High performance
  • Multithreaded
  • Robust
  • Dynamic
  • Secure
Each of the preceding buzzwords is explained in The Java Language Environment , a white paper written by James Gosling and Henry McGilton.

In the Java programming language, all source code is first written in plain text files ending with the .java extension. Those source files are then compiled into .class files by the javac compiler. A .class file does not contain code that is native to your processor; it instead contains bytecodes — the machine language of the Java Virtual Machine1 (Java VM). The java launcher tool then runs your application with an instance of the Java Virtual Machine.

Figure showing MyProgram.java, compiler, MyProgram.class, Java VM, and My Program running on a computer.

Figure showing MyProgram.java, compiler, MyProgram.class, Java VM, and My Program running on a computer.


An overview of the software development process.

Because the Java VM is available on many different operating systems, the same .class files are capable of running on Microsoft Windows, the Solaris TM Operating System (Solaris OS), Linux, or Mac OS. Some virtual machines, such as the Java HotSpot virtual machine, perform additional steps at runtime to give your application a performance boost. This include various tasks such as finding performance bottlenecks and recompiling (to native code) frequently used sections of code.

Figure showing source code, compiler, and Java VM's for Win32, Solaris OS/Linux, and Mac OS

Through the Java VM, the same application is capable of running on multiple platforms.

Figure showing source code, compiler, and Java VM's for Win32, Solaris OS/Linux, and Mac OS



The Java Platform

A platform is the hardware or software environment in which a program runs. We've already mentioned some of the most popular platforms like Microsoft Windows, Linux, Solaris OS, and Mac OS. Most platforms can be described as a combination of the operating system and underlying hardware. The Java platform differs from most other platforms in that it's a software-only platform that runs on top of other hardware-based platforms.

The Java platform has two components:

  • The Java Virtual Machine
  • The Java Application Programming Interface (API)
You've already been introduced to the Java Virtual Machine; it's the base for the Java platform and is ported onto various hardware-based platforms.

The API is a large collection of ready-made software components that provide many useful capabilities. It is grouped into libraries of related classes and interfaces; these libraries are known as packages. The next section, What Can Java Technology Do? highlights some of the functionality provided by the API.

Figure showing MyProgram.java, API, Java Virtual Machine, and Hardware-Based Platform

Figure showing MyProgram.java, API, Java Virtual Machine, and Hardware-Based Platform



The API and Java Virtual Machine insulate the program from the underlying hardware.
As a platform-independent environment, the Java platform can be a bit slower than native code. However, advances in compiler and virtual machine technologies are bringing performance close to that of native code without threatening portability.

The terms"Java Virtual Machine" and "JVM" mean a Virtual Machine for the Java platform.

[+/-] Read More...

Categories

Comments

Subcribe

Enter your email address:

About Me

My photo
I am its person simple. Bad blood platitude. Directly az goes to aim target

Shoutbox