blob: b28001fa1e88497ea25ad724072eb61b62c08981 [file] [log] [blame]
<html>
<head>
<title>NetBeans C/C++ Development Pack 5.5 Installation and Setup Instructions</title>
<meta name="DESCRIPTION" content="NetBeans C/C++ Development Pack 5.5 Installation and Setup Instructions">
<link rel="stylesheet" type="text/css" href="../../../netbeans.css">
</head>
<body>
<div id="contentLeft">
<!-- Begin Content Area -->
<a name="top"></a>
<h1>NetBeans&#8482; C/C++ Development Pack 5.5 Installation and Setup Instructions</h1>
<p><b>Contents</b>
<ul>
<li><a href="#prerequisities" title="Prerequisites">Prerequisites</a></li>
<li><a href="#installation" title="Installing the Software">Installing the
Software</a>
<div>
<ul>
<li><a href="#install_windows" title="Windows">Windows</a></li>
<li><a href="#install_solaris" title="Solaris">Solaris&#8482; OS</a></li>
<li><a href="#install_linux" title="Linux">Linux</a></li>
</ul>
</div></li>
<li><a href="#compilers" title="Installing and Setting Up the Compilers and
Tools">Installing and Setting Up the Compilers and Tools</a>
<div>
<ul>
<li><a href="#compilers_windows" title="Windows">Windows</a></li>
<li><a href="#compilers_solaris" title="Solaris">Solaris</a></li>
<li><a href="#compilers_linux" title="Linux">Linux</a></li>
</ul>
</div></li>
<li><a href="#uninstallation" title="Uninstalling the Software">Uninstalling
the Software</a></li>
<li><a href="#troubleshoot" title="Troubleshooting">Troubleshooting</a></li>
</ul>
<br>
<!-- PREREQUISITES ------------------------------------------------------->
<h2><a name="prerequisites"></a>Prerequisites</h2>
<p>This topic specifies the prerequisites that must be met before you start to
install NetBeans&#8482; C/C++ Development Pack 5.5.</p>
<blockquote>
<h2 style="color:#0E1B55">Required Software</h2>
<p>The following software must be installed before you attempt to install
NetBeans C/C++ Development Pack 5.5:</p>
<ul>
<li>NetBeans IDE 5.5<br><br></li>
<li>JDK 5.0 must be
installed on your system. If you do not have an installation
of JDK version 5.0, you cannot proceed
with the installation. For details, see the
<a href="cnd-release-notes.html#req_sw">Required&nbsp;Software</a> topic in the <a
href="cnd-release-notes.html" title="Release Notes">Release&nbsp;Notes</a>.<br><br>
</ul>
<h2 style="color:#0E1B55">Supported Platforms</h2>
<p>NetBeans C/C++ Development Pack has been tested on the following
operating systems:
<ul>
<li>Microsoft Windows XP Professional SP2</li>
<li>Red Hat Fedora Core 3</li>
<li>Solaris&#8482; 10 Operating System (Solaris OS) (SPARCĀ® and x86/x64
Platform Edition)
</ul>
</p>
<p>NetBeans C/C++ Development Pack also runs on the following platforms:
<ul>
<li>Microsoft Windows 2000 Professional SP4</li>
<li>Solaris&#8482; 8 OS (SPARC&#174 and x86/x64 Platform Edition) and Solaris&#8482; 9 OS (SPARC&#174 and x86/x64 Platform Edition)</li>
<li>Various other Linux distributions</li>
</ul>
<!--
<h2 style="color: rgb(14, 27, 85);">Firewall Applications</h2>
<p>Enabled firewall applications can prevent some components from being
configured correctly during the installation process. Disable any firewall
applications before you start the installation.</p>
-->
</blockquote>
<br>
<p align="center"><a href="#top">top</a></p>
<br>
<!-- INSTALLATION -------------------------------------------------------->
<h2><a name="installation"></a>Installing the Software</h2>
<p>This section contains instructions for installing the NetBeans C/C++
Development Pack on all supported platforms.</p>
<!-- INSTALLATION: WINDOWS ---------------------------------->
<blockquote>
<h2 style="color:#0E1B55"><a name="install_windows"></a>Windows</h2>
<p>Following are instructions for installing NetBeans C/C++ Development
Pack on the Microsoft Windows platform.</p>
<blockquote>
<p><b>Before You Start</b></p>
<p>The following restrictions apply to the installation on the Microsoft
Windows platform:</p>
<ul>
<li>The installer first extracts the required files to the default temporary
directory defined by the <tt>TEMP</tt>
environment variable. If the amount of disk space in the temporary directory
is less than required, the installation might fail or proceed incorrectly.<br>
If you encounter this problem, you can increase the space allocated for the
<tt>TEMP</tt> environment variable or specify a different temporary directory
that has sufficient space. To specify a temporary directory for the
installation, use the following commands from a command window:<br>
<br>
<tt>&gt;&nbsp;cd&nbsp;<i>location-of-installer</i></tt><br>
<tt>&gt;&nbsp;netbeans-cnd-5_5-windows.exe&nbsp;-is:tempdir&nbsp;<i>temporary-directory</i></tt><br>
</li>
</ul>
<p><b>To Install</b></p>
<ol>
<li>When you have downloaded the installer file,
<tt>netbeans-cnd-5_5-windows.exe</tt>,
double-click the installer's icon to launch the installer.</li>
<br>
<li>At the Welcome page of the installation wizard, click Next.</li>
<br>
<li>Respond to the license agreement and click Next.</li>
<br>
<li>At the installation directory page of the installation wizard,
accept the NetBeans IDE directory found by the wizard or select a different
IDE installation. Click Next.</li>
<br>
<li>Verify that the installation location is correct and that you have
adequate space on your system for the installation.</li>
<br>
<li>Click Next to begin the installation. </li>
<br>
<li>When the installation is complete, click Finish to exit the wizard.</li>
</ol>
<div class="greybox"> <b>Note: </b>If you encounter problems successfully
completing the software installation, see <a href="#troubleshoot">
Troubleshooting</a> for full descriptions and suggested workarounds for unresolved issues that could affect the installation process. </div>
<br><br>
</blockquote>
<p align="center"><a href="#top">top</a></p>
<!-- INSTALLATION: SOLARIS OS ---------------------------------->
<h2 style="color:#0E1B55"><a name="install_solaris"></a>Solaris&#8482; OS</h2>
Following are instructions for installing NeteBeans C/C++ Development Pack on
the Solaris OS platform.</p>
<p>
In the instructions below, replace <i>your_binary_executable</i> with one of
the following:
<ul>
<li>Solaris&#8482; OS, SPARC&#174;: <tt>netbeans-cnd-5_5-solaris-sparc.bin</tt></li>
<li>Solaris&#8482; OS, x86/x64 Platform Edition:
<tt>netbeans-cnd-5_5-solaris-x86.bin</tt></li>
</ul>
<blockquote>
<p><b>To Install</b></p>
<ol>
<li>When you have downloaded the installer file,
<tt><i>your_binary_executable</i></tt>, navigate to the directory that
contains the file. </li>
<br>
<li>If necessary, change the permissions on the installer file to make
the binary executable by using the command shown below at a command prompt.
<pre>
&#36;&nbsp;chmod&nbsp;+x&nbsp;<i>your_binary_executable</i><br>
</pre>
</li>
<li>Launch the installer by using the command shown below at a command
prompt.
<pre>
&#36;&nbsp;./<i>your_binary_executable</i><br>
</pre>
</li>
<li>At the Welcome page of the installation wizard, click Next.</li>
<br>
<li>Respond to the license agreement and click Next.</li>
<br>
<li>At the installation directory page of the installation wizard, accept the
NetBeans IDE directory found by the wizard or select a different IDE
installation. Click Next.</li>
<br>
<li>Verify that the installation location is correct and that you have
adequate space on your system for the installation.</li>
<br>
<li>Click Next to begin the installation. </li>
<br>
<li>When the installation is complete, click Finish to exit the wizard.</li>
</ol>
<div class="greybox"> <b>Note: </b>If you encounter problems successfully completing the software installation, see <a href="#troubleshoot">Troubleshooting</a> for full descriptions and suggested workarounds for unresolved issues that could affect the installation process. </div>
<br><br>
</blockquote>
<p align="center"><a href="#top">top</a></p>
<br>
<!-- INSTALLATION: LINUX ---------------------------------->
<h2 style="color:#0E1B55"><a name="install_linux"></a>Linux</h2>
<p>Following are instructions for installing the NetBeans C/C++ Development
Pack on Linux platforms.</p>
<blockquote>
<p><b>To Install</b></p>
<ol>
<li>When you have downloaded the installer file,
<tt>netbeans-cnd-5_5-linux.bin</tt>, navigate to the directory that
contains the file. </li>
<br>
<li>If necessary, change the permissions on the installer file to make
the binary executable by using the command shown below at a command prompt.
<pre>
&#36;&nbsp;chmod&nbsp;+x&nbsp;netbeans-cnd-5_5-linux.bin<br>
</pre>
</li>
<li>Launch the installer by using the command shown below at a command
prompt.
<pre>
&#36;&nbsp;./netbeans-cnd-5_5-linux.bin<br>
</pre>
</li>
<li>At the Welcome page of the installation wizard, click Next.</li>
<br>
<li>Respond to the license agreement and click Next.</li>
<br>
<li>At the installation directory page of the installation wizard, accept the
NetBeans IDE directory found by the wizard or select a different IDE
installation. Click Next.</li>
<br>
<li>Verify that the installation location is correct and that you have
adequate space on your system for the installation.</li>
<br>
<li>Click Next to begin the installation. </li>
<br>
<li>When the installation is complete, click Finish to exit the wizard.</li>
</ol>
<div class="greybox"> <b>Note: </b>If you encounter problems successfully completing the software installation, see <a href="#troubleshoot">Troubleshooting</a> for full descriptions and suggested workarounds for unresolved issues that could affect the installation process. </div>
<br><br>
</blockquote>
</blockquote>
<p align="center"><a href="#top">top</a></p>
<br>
<!-- COMPILER SETUP ------------------------------------------------------->
<h2><a name="compilers">Installing and Setting Up the Compilers and Tools</a></h2>
<p>Netbeans C/C++ Development Pack requires a C compiler, C++ compiler,
<tt>make</tt> utility, and <tt>gdb</tt> debugger.
</p>
<!-- COMPILER SETUP: WINDOWS ---------------------------------------------->
<blockquote>
<h2 style="color:#0E1B55"><a name="compilers_windows"></a>Windows</h2>
<p>NetBeans C/C++ Development Pack has been tested with the following compilers
and tools:
<ul>
<li>Cygwin 1.5.21</li>
<li>Cygwin gcc-core (C compiler) 3.4.x</li>
<li>Cygwin gcc-c++ (C++ compiler) 3.4.x</li>
<li>Cygwin gdb (GNU Debugger) 6.5.50</li>
<li>Cygwin make 3.80</li>
</ul>
</p>
<p>If you already have the Cygwin GNU compilers, GNU <tt>make</tt>, and
<tt>gdb</tt> debugger installed on your Windows system and
your path is set up correctly to find them, make sure that you have the
correct versions. If you have the correct versions, then no further setup is
necessary.
</p>
<blockquote>
<p><b>To check the versions of your Cygwin compilers and tools:</b>
<ol>
<li>
<p>Check the version of Cygwin by typing:
<pre>
cygcheck -c cygwin
</pre>
</li>
<li>Check the versions of the compilers, <tt>make</tt>, and <tt>gdb</tt> by
typing:
<pre>
gcc --version
g++ --version
make --version
gdb --version
</pre>
</li>
</ol>
<p><b>To install the GNU compilers, <tt>make</tt>, and <tt>gdb</tt> debugger from
<a href="http://cygwin.com">cygwin.com</a>:</b></p>
<ol>
<li>Download the Cygwin <a href="http://www.cygwin.com/setup.exe">
<tt>setup.exe</tt></a> program by clicking the Install or Update Now!
icon in the middle of the page.
</li>
<br>
<li>
Run the <tt>setup.exe</tt> program. Accept the defaults until you reach
the Select Your Internet Connection page. Select the option on this
page that is best for you. Click Next.
</li>
<br>
<li>
On the Choose Download Site page, choose a download site you think
might be relatively close to you. Click Next.
</li>
<br>
<li>
On the Select Packages page you select the packages to download. Click
the + next to Devel to expand the development tools category. You may
want to resize the window so you can see more of it at one time.
</li>
<br><li>
Select each package you want to download by clicking the Skip label
next to it. At a minimum, select gcc-core: C compiler,
gcc-g++: C++ compiler, gdb: The GNU Debugger, and make: the GNU
version of the 'make' utility.
</li>
<br>
<li>
Now add the Compiler directory to your path:
<br><br>
<ol type="a">
<li>Open the Control Panel (Start &gt; Settings &gt; Control Panel) and
double-click the System program.</li>
<br>
<li>Select the Advanced tab and click Environment Variables.</li>
<br>
<li>In the System Variables panel of the Environment Variables dialog,
select the <tt>Path</tt> variable and
click Edit.</li>
<br>
<li>In the Edit System Variable dialog, copy the value of the <tt>Path</tt>
variable by typing Ctrl-C and
click Cancel.</li>
<br>
<li>In the User Variables panel of the Environment Variables dialog,
click New.</li>
<br>
<li>In the New User Variable dialog, type <tt>Path</tt> in the Variable Name
field. Move the cursor to the Variable Value field and type Ctrl-V
to paste the value you copied from the System Variables.
</li>
<br>
<li>Add the paths to the <tt><i>cygwin-directory</i>\usr\bin</tt> and
<tt><i>cygwin-directory</i>\bin</tt> directories to the <tt>Path</tt> variable, and
click OK. By default, <tt><i>cygwin-directory</i></tt> is <tt>C:\cygwin</tt>.</li>
<br>
<li>Click OK in the Environment Variables dialog and the System
Properties dialog.
</li>
</ol>
</li>
</ol>
</blockquote>
<br><p align="center"><a href="#top">top</a></p>
<br>
<!-- COMPILER SETUP: SOLARIS OS -------------------------------->
<h2 style="color:#0E1B55"><a name="compilers_solaris"></a>Solaris OS</h2>
<p>
NetBeans C/C++ Development Pack has been tested with the following compilers
and tools:
<ul>
<li>Sun Studio 11 C compiler 5.8 and gcc 3.4.3</li>
<li>Sun Studio 11 C++ compiler 5.8 and g++ 3.4.3</li>
<li>gdb (GNU debugger) 6.2.1</li>
<li>Solaris make and gmake 3.80</li>
</ul>
<h3>Sun Studio 11 Compilers</h3>
<p>If you want to use the Sun Studio 11 compilers:
<ul>
<li>If you
have Sun Studio 11 software installed, ensure that <tt>/<i>installation
directory</i>/bin</tt>
is in your path before you start the NetBeans IDE.</li>
<li>
If you do not have Sun Studio 11 software installed, you can
download it free at <a href="http://developers.sun.com/sunstudio/downloads/">
<tt>http://developers.sun.com/sunstudio/downloads/</tt></a>.
</li>
</ul>
</p>
<blockquote>
<p><b>To download and install the Sun Studio 11 compilers:</b></p>
<ol>
<li>Create a directory for the downloaded file.
You must have write permission for this directory.</li>
<br>
<li>
Download the file for your platform into the download directory.
</li>
<br>
<li>Go to the download directory, and uncompress and untar the downloaded file.
<pre>
bzcat <i>filename</i> | tar xvf -
</pre>
</li>
<!--
<li>
Become superuser (root). Run the installer in the download directory by typing:
<pre>
./installer
</pre>
</li>
<br>
<li>Click Next on the Welcome page, and accept the Software License Agreement
and click Next.
</li>
<br>
<li>On the Select Components page of the installer, select Custom Install for
Sun Studio Software. Select Default Install for Solaris Patches. Select No Install for
Documentation, Source Distribution, and Sun Performance Library.
</li>
<br>
<li>On the Select Install Directory page, if you want to install the compilers
in the default installation directory <tt>/opt</tt>, click Next. If you want to
install the compilers in a different directory, type the path in the text field
and click Next.</li>
<br>
<li>On the Select Subcomponents page, select Compilers C and
Compilers C++, and click Next.
</li>
<br>
<li>On the Ready to Install page, verify that the disk space shown is available
on your system, and that the C compiler, C++ compiler, and Solaris patches are
listed. Then click Install Now.
</li>
<br>
<li>When installation is complete, proceed through the Installation Summary
page, the Registration page, and the After Installation page, and click Exit to
exit the installer.
</li>
-->
<li>Follow the instructions in <a
href="http://docs.sun.com/source/819-3052/products.html">Chapter 2 of the <i>Sun Studio 11 Installation
Guide for Solaris Platforms</i></a> to install the C compiler, C++ compiler,
and required Solaris patches.</li>
</ol>
</blockquote>
<p>Add the path to the Sun Studio software to your <tt>PATH</tt> before
starting the NetBeans IDE.
</p>
<h3>GNU Compilers and GNU <tt>make</tt></h3>
<p>
If you want to use the GNU compilers and GNU <tt>make</tt>:
<ul>
<li>If you have a standard installation of the Solaris 10 OS, the compilers and
<tt>gmake</tt> are installed in <tt>/usr/sfw/bin</tt>. Make sure that this
location is in your path before staring the NetBeans IDE.</li>
<li>If the compilers and <tt>gmake</tt> are not installed on your system, you can download them from
<a
href="http://www.sunfreeware.com"><tt>http://www.sunfreeware.com</tt></a>.</li>
</ul>
<blockquote>
<p><b>To download and install the GNU compilers and make</b></p>
<ol>
<li>Download gcc 3.4.6 and make 3.81.</li>
<br>
<li>If the download zip files are not
automatically gunzipped during download, unzip them with <tt>gunzip</tt>.
</li>
<br>
<li>Install the packages with the <tt>pkgadd</tt> command.</li>
</ol>
</blockquote>
<p>Make sure to include the GNU
compiler directory and the GNU make directory in your path before starting the NetBeans IDE.
</p>
<h3><tt>gdb</tt> Debugger</h3>
<p>Whether you use the Sun Studio compilers and Solaris <tt>make</tt> or the
GNU compilers and GNU <tt>make</tt>, you must have the <tt>gbd</tt> debugger to
debug applications in NetBeans C/C++ Development Pack. You can download <tt>gdb</tt> 6.2.1 from
<a href="http://www.sun.com/software/solaris/freeware/s10pkgs_download.xml"><tt>http://www.sun.com/software/solaris/freeware/s10pkgs_download.xml</tt></a>.
</p>
<blockquote>
<p><b>To download and install <tt>gdb</tt>:</b></p>
<ol>
<li>Under "Select a Download" at the botttom of the page, select the Solaris 10
Companion Software download for your Solaris platform.</li>
<br>
<li>On the Download page, accept the License Agreement and select the
<tt>gbd - GNU source level debugger</tt> package.
</li>
<br>
<li>Become root (superuser).
</li>
<br>
<li>Unzip the file with <tt>bunzip</tt> and install <tt>gbd</tt> with
<tt>pkgadd</tt>:
<pre>
bunzip2 SFWgdb.bz2
pkgadd -d SFWgbd
</pre>
</li>
</ol>
</blockquote>
<p>Make sure to include the path to <tt>gdb</tt> in your path before starting
the NetBeans IDE.</p>
<br><p align="center"><a href="#top">top</a></p>
<br>
<!-- COMPILER SETUP: LINUX OS -------------------------------->
<h2 style="color:#0E1B55"><a name="compilers_linux"></a>Linux</h2>
<p>
NetBeans C/C++ Development Pack has been tested with the following compilers
and tools:
<ul>
<li>Sun Studio Express 2 C compiler and Red Hat Fedora Core 3 gcc</li>
<li>Sun Studio Express 2 C++ compiler and Red Hat Fedora Core 3 g++</li>
<li>Red Hat Fedora Core 3 gdb</li>
<li>Red Hat Fedora Core make</li>
</ul>
</p>
<p><b>To download and install the Sun Studio Express 2 compilers:</b>
<ol>
<li>On the Sun Studio Express web page (<a
href="http://developers.sun.com/sunstudio/downloads/express.jsp"><tt>
http://developers.sun.com/sunstudio/downloads/express.jsp</tt></a>, type your
email address to join the Sun Studio Express Program notification list, and
click Download Now.</li>
<br>
<li>On the Sun Studio Express Mailing List Notification page, click the
download icon.
</li>
<br>
<li>On the Sun Studio Express download page, accept the License Agreement and
select the download file for the Linux (x86) Platform.
</li>
<br>
<li>Download the file into a scratch directory, and then follow the
instructions in the Sun Studio Express README file at <a
href="http://developers.sun.com/sunstudio/downloads/express_readme.html">
<tt>http://developers.sun.com/sunstudio/downloads/express_readme.html</tt></a>
to install the software and set your path.
</li>
</ol>
</p>
</blockquote>
<br>
<p align="center"><a href="#top">top</a></p>
<br><!-- VERIFYING THE INSTALLATION ------------------------------------------>
<h2><a name="verifying">Verifying the Installation</a></h2>
<p>To verify that the installation is correct, start the NetBeans IDE,
build a sample project, and run it in the <tt>gdb</tt> debugger.</p>
<blockquote>
<h2 style="color:#0E1B55">Windows</h2>
<p><b>To start the IDE on Microsoft Windows machines, do one of the following:</b></p>
<ul>
<li>Double-click the NetBeans IDE icon on your desktop.</li>
<br>
<li>From the Start menu, select Programs &gt; NetBeans 5.5 &gt; NetBeans IDE.</li>
</ul>
<p><b>To build a sample project and run it in the debugger:</b>
<ol>
<li>Open the New Project wizard by choosing File &gt; New Project.</li>
<br>
<li>In the Categories panel on the Choose Project page of the wizard, expand the Samples category and the C/C++ Development
subcategory, and select the C/C++ subcategory.</li>
<br>
<li>In the Projects panel, select the <tt>Welcome</tt> project. Click Next.
</li>
<br>
<li>On the Project Name and Location page, click Finish.
</li>
<br>
<li>In the Projects tab of the IDE, right-click the <tt>Welcome1</tt> project and
choose Build Project. If your compilers and <tt>make</tt> utility are
installed correctly and the path to them is set, build output is displayed in
the Output window and the project builds successfully.
</li>
<br>
<li>Double-click the <tt>welcome.cc</tt> file to open it in the Source
Editor.</li>
<br>
<li>Right-click in the left margin of the Source Editor window and choose
Show Line Numbers.
</li>
<br>
<li>Set a breakpoint by clicking in the left margin of the Source
Editor window next to line 33.
</li>
<br>
<li>Right-click the project and choose Debug Project. If the <tt>gdb</tt>
debugger is installed corrected and the path to it is set, <tt>gdb</tt> starts
up, the Debugger tabs are displayed, and the </tt>Welcome</tt> application
runs and stops at the breakpoint.
</li>
<br>
<li>Choose Run &gt; Continue to run the application to completion.
</li>
</ol>
<br><p align="center"><a href="#top">top</a></p>
<br><h2 style="color:#0E1B55">Solaris OS</h2>
<p><b>To start the NetBeans IDE on Solaris systems:</b></p>
<ol>
<li>Navigate to the <tt>bin</tt> subdirectory of your installation. </li>
<br>
<li>Execute the launcher script by typing <tt>./netbeans</tt>.
</ol>
<p><b>To build a sample project and run it in the debugger:</b>
<ol>
<li>Open the New Project wizard by choosing File &gt; New Project.</li>
<br>
<li>In the Categories panel on the Choose Project page of the wizard, expand the Samples category and the C/C++ Development
subcategory, and select the C/C++ subcategory.</li>
<br>
<li>In the Projects panel, select the <tt>Welcome</tt> project. Click Next.
</li>
<br>
<li>On the Project Name and Location page, click Finish.
</li>
<br>
<li>In the Projects tab of the IDE, right-click the <tt>Welcome1</tt> project
and choose Properties.
</li>
<br>
<li>In the Project Properties dialog box, set the Compiler Collection property
to the compiler collection you want to validate and click OK.
</li>
<br>
<li>In the Projects tab, right-click the project and
choose Build Project. If your compilers and <tt>make</tt> utility are
installed correctly and the path to them is set, build output is displayed in
the Output window and the project builds successfully.
</li>
<br>
<li>Double-click the <tt>welcome.cc</tt> file to open it in the Source
Editor.</li>
<br>
<li>Right-click in the left margin of the Source Editor window and choose
Show Line Numbers.
</li>
<br>
<li>Set a breakpoint by clicking in the left margin of the Source
Editor window next to line 33.
</li>
<br>
<li>Right-click the project and choose Debug Project. If the <tt>gdb</tt>
debugger is installed corrected and the path to it is set, <tt>gdb</tt> starts
up, the Debugger tabs are displayed, and the </tt>Welcome</tt> application
runs and stops at the breakpoint.
</li>
<br>
<li>Choose Run &gt; Continue to run the application to completion.
</li>
</ol>
<br><p align="center"><a href="#top">top</a></p>
<br>
<h2 style="color:#0E1B55">Linux</h2>
<p><b>To start the NetBeans IDE on Linux systems:</b></p>
<ol>
<li>Navigate to the <tt>bin</tt> subdirectory of your installation. </li>
<br>
<li>Execute the launcher script by typing <tt>./netbeans</tt>.
</ol>
<p><b>To build a sample project and run it in the debugger:</b>
<ol>
<li>Open the New Project wizard by choosing File &gt; New Project.</li>
<br>
<li>In the Categories panel on the Choose Project page of the wizard, expand the Samples category and the C/C++ Development
subcategory, and select the C/C++ subcategory.</li>
<br>
<li>In the Projects panel, select the <tt>Welcome</tt> project. Click Next.
</li>
<br>
<li>On the Project Name and Location page, click Finish.
</li>
<br>
<li>In the Projects tab of the IDE, right-click the <tt>Welcome1</tt> project
and choose Properties.
</li>
<br>
<li>In the Project Properties dialog box, set the Compiler Collection property
to the compiler collection you want to validate and click OK.
</li>
<br>
<li>In the Projects tab, right-click the project and
choose Build Project. If your compilers and <tt>make</tt> utility are
installed correctly and the path to them is set, build output is displayed in
the Output window and the project builds successfully.
</li>
<br>
<li>Double-click the <tt>welcome.cc</tt> file to open it in the Source
Editor.</li>
<br>
<li>Right-click in the left margin of the Source Editor window and choose
Show Line Numbers.
</li>
<br>
<li>Set a breakpoint by clicking in the left margin of the Source
Editor window next to line 33.
</li>
<br>
<li>Right-click the project and choose Debug Project. If the <tt>gdb</tt>
debugger is installed corrected and the path to it is set, <tt>gdb</tt> starts
up, the Debugger tabs are displayed, and the </tt>Welcome</tt> application
runs and stops at the breakpoint.
</li>
<br>
<li>Choose Run &gt; Continue to run the application to completion.
</li>
</blockquote>
<br><p align="center"><a href="#top">top</a></p>
<br>
<!-- UNINSTALLATION ------------------------------------------------------>
<h2><a name="uninstallation">Uninstalling the Software</a></h2>
<blockquote>
<!-- UNINSTALLATION: WINDOWS --------------------------------------------->
<h2 style="color:#0E1B55"><a name="uninstall_windows">Windows</a></h3>
<p><b>To Uninstall the Software</b></p>
<ol>
<li>Shut down the IDE.</li>
<li>From the Control Panel, start Add or Remove Programs, select
NetBeans C/C++ Development Pack 5.5 and click Change/Remove.</li>
<li>Follow the instructions in the uninstaller.</li>
</ol>
<!-- UNINSTALLATION: SOLARIS and LINUX ----------------------------------->
<h2 style="color:#0E1B55"><a name="uninstall_sollinux">Solaris OS, Linux</a></h3>
<p><b>To Uninstall the Software</b></p>
<ol>
<li>Shut down the IDE.</li>
<li>Navigate to the /<tt><i>NetBeans-5.5-directory</i>/cnd1/_uninst</tt>
directory.
</li>
<li>Type <tt>./uninstaller</tt> to run the InstallShield uninstaller.
</li>
</ol>
</blockquote>
<p align="center"><a href="#top">top</a></p>
<br>
<h2><a name="troubleshoot">Troubleshooting</a></h2>
<p>If you experience problems installing or running the software, see the list of issues below for workarounds. For a complete list of known issues, system requirements and other useful information, see the <a
href="cnd-release-notes.html">Release&nbsp;Notes</a>. </p>
<p>Following are the unresolved issues for this release that could affect or disrupt the installation process: </p>
<ul>
<!--Bug Id: 6379579 http://bt2ws.central.sun.com/CrPrint?id=6379579 - checked for TPR3 -->
<li><span style="color: #045491;"><b>Installer exceptions when running on JRE 1.4.</b></a></span>
<blockquote>
<p><strong>Description: </strong> On Microsoft Windows, if there is no preinstalled compatible JDK on the target machine, the InstallShield Windows launcher allows you to select a custom <tt>java.exe</tt>. After you select a custom <tt>java.exe</tt> the installer does not perform a validation for compatibility. This means that if you select a <tt>java.exe</tt> from a 1.4 JRE, which is not compatible with the installer, you will encounter a number of exceptions. The issue exists in the InstallShield framework.</p>
<p><strong>Workaround: </strong> Select a <tt>java.exe</tt> from a 1.5 JRE. See <a
href="cnd-release-notes.html#req_sw" title="Required Software">Required&nbsp;Software</a> for information about downloading and installing a compatible JDK.</p>
</blockquote>
</li>
<!-- Bug Id: 6375086 http://bt2ws.central.sun.com/CrPrint?id=6375086 - checked for TPR3 -->
<li><span style="color: #045491;"><b>Installer fails to start correctly on UNIX.</b></a></span>
<blockquote>
<p><strong>Description: </strong>The installer is known to fail to start up correctly on UNIX when is there is little or no disk space in the root directory of the filesystem. The problem exists in the InstallShield framework. This issue was observed on machines with less than 2.5 MB free in the root of the filesystem.</p>
<p><strong>Workaround: </strong> Free up enough disk space in the root of the filesystem and restart the installer.</p>
</blockquote>
</li>
</ul>
<p align="center"><a href="#top">top</a></p>
<br>
<!-- End Content Area -->
</div>
<!-- End Content Area -->
</div>
</td>
</tr>
</table>
</body>
</html>