<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>René Samselnig&#039;s Weblog &#187; netbeans</title>
	<atom:link href="http://sdm-net.org/tag/netbeans/feed/" rel="self" type="application/rss+xml" />
	<link>http://sdm-net.org</link>
	<description>Personal Entertainment and Knowledge Management</description>
	<lastBuildDate>Wed, 21 Dec 2011 06:08:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Bringing NetBeans to life on Ubuntu</title>
		<link>http://sdm-net.org/2006/01/bringing-netbeans-to-life-on-ubuntu/</link>
		<comments>http://sdm-net.org/2006/01/bringing-netbeans-to-life-on-ubuntu/#comments</comments>
		<pubDate>Tue, 31 Jan 2006 19:43:59 +0000</pubDate>
		<dc:creator>René Samselnig</dc:creator>
				<category><![CDATA[About]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.sdm-net.org/2006/01/bringing-netbeans-to-life-on-ubuntu/</guid>
		<description><![CDATA[<p>If you&#8217;re a developer and might want to use NetBeans as your favourite IDE &#8211; here&#8217;s how to do it. This is not a detailed description on what might go wrong &#8211; but it&#8217;s a start. And it&#8217;s how I brought it to life myself. Downloading Netbeans Go to the NetBeans Download Section. From the [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a developer and might want to use NetBeans as your favourite IDE &#8211; here&#8217;s how to do it. This is not a detailed description on what might go wrong &#8211; but it&#8217;s a start. And it&#8217;s how I brought it to life myself.
<span id="more-71"></span></p>

<h5>Downloading Netbeans</h5>

<p>Go to the <a href="http://www.netbeans.info/downloads/download.php?a=b&amp;p=2">NetBeans Download Section</a>. From the dropdown list choose <em>Linux</em>. Then choose <em>next</em>.</p>

<h5>Installing</h5>

<p>You will have to have a Java SDK already installed to use (and at least install) Netbeans. <a href="http://blogs.sun.com/roller/page/coldrick">David Coldrick</a> has a blog at <a href="http://blogs.sun.com/roller/main.do">blogs.sun.com</a> where he discusses <a href="http://blogs.sun.com/roller/page/coldrick?entry=java_development_on_ubuntu_part">the issue of installing Java under Ubuntu Linux</a>.</p>

<p>Once you have Java up and running you can continue installing NetBeans. With a terminal go to the folder you&#8217;ve downloaded the NetBeans installation file to. Now export the <em>JAVA_HOME</em> variable to point to the Java home directory.</p>

<p>cd /path/to/downloaded/netbeans/installer/
    export JAVA_HOME=/usr/lib/j2sdk1.5-sun/</p>

<p>You&#8217;ll get a strange error if <em>JAVA_HOME</em> isn&#8217;t set to the right directory (<em>The wizard cannot continue because of the following error: could not load wizard specified in /wizard.inf (104)</em>). But nothing happens &#8211; don&#8217;t be afraid honey, it&#8217;s only an error message.</p>

<p>The next you&#8217;ll have to do is make the binary file executable. Don&#8217;t worry if you don&#8217;t know how to do that &#8211; I&#8217;ll show you:</p>

<p>chmod +x nb-4_1-linux.bin</p>

<p>Change <em>nb-4_1-linux.bin</em> to the filename you just downloaded. Now you&#8217;re able to start the installer:</p>

<p>./nb-4_1-linux.bin</p>

<p>Once running it&#8217;s going to be easy to install NetBeans. Just follow the instructions given. The defaults are quite okay. The only thing I changed was the installation directory &#8211; I changed it to <code>/home/sandman/software/netbeans-4.1/</code>, it&#8217;s up to you.</p>

<h5>Using NetBeans</h5>

<p>Once installed you can open the NetBeans IDE by executing the following commands:</p>

<p>export JAVA_HOME=/usr/lib/j2sdk1.5-sun/
    /path/to/netbeans/bin/netbeans</p>

<p>If you don&#8217;t want to start NetBeans that way (and you <em>really</em> don&#8217;t want to start it that way all the time) then add the following lines at the end of your <code>~/.bashrc</code> file:</p>

<p>export JAVA_HOME=/usr/lib/j2sdk1.5-sun/
    alias netbeans=&#8217;/path/to/netbeans/bin/netbeans&#8217;</p>

<p>Note: The ~/.bashrc file is included every time you start a terminal. This way the <em>JAVA_HOME</em> variable is always exported and an alias for <em>netbeans</em> is being set &#8211; now you only have to type <em>netbeans</em> to open up the IDE. No more hurt/broken fingers when starting netbeans!</p>

<h5>Further Reading</h5>

<p>Congratulations if you made it this far! I know this is no complete guide with error recovery and support hotline. But if you think you got stuck or if you&#8217;d like to have more detailed answers I&#8217;ll give you some hyperlinks to got to.</p>

<ul>
<li><a href="http://blogs.sun.com/roller/page/coldrick?entry=java_development_on_ubuntu_part1">David Coldrick on Java Development on Ubuntu</a></li>
<li><a href="http://ubuntuforums.org/showthread.php?t=119303">Ubuntu Wiki &#8211; Help on Java and NetBeans</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sdm-net.org/2006/01/bringing-netbeans-to-life-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

