个人工具

UbuntuHelp:Netbeans4.1onAMD64

来自Ubuntu中文

跳转至: 导航, 搜索

<<Include(Tag/NeedsExpansion)>>

HowToInstallNetbeans4.1(AMD64)

NetBeans is an integrated Java developing IDE that give you the posibility of making:

  • J2SE 5 projects
  • J2EE 1.4 projects, including apache tomcat server
  • ANT developing

This is a guide for instaling it on Ubuntu Breezer and AMD procesor.

Download sofware

We shold download this software:

  • JDK 5.0 Update 5 for amd64 here

You have to accept the License Agreement and select Linux AMD64 self-extracting file

  • NetBeans IDE 4.1 Archive here

Click on NetBeans IDE 4.1 Archive netbeans-4_1.tar.gz -> Next Accept the License Agreement

Install Software

Open a terminal JAVA JDK I will install the java at /usr/java/ The file has been downloaded to /home/[yourAccount]/downloads/

#sudo -s
#cd /usr
#mkdir /usr/java
#mv ~/downloads/jdk-1_5_0_05-linux-amd64.bin /usr/java/
#cd java
#chmod +x jdk-1_5_0_05-linux-amd64.bin
#./jdk-1_5_0_05-linux-amd64.bin

NETBEANS IDE Move the file where you want to install. For example JavaDevelope

#mv ~/downloads/netbeans-4_1.tar.gz ~/JavaDevelope/
#tar -xzvf netbeans-4_1.tar.gz

Running the IDE

If you are not in admin mode you should put sudo before calling the program I use /usr/java/jdk.5.0_05/ because i have installed the java JDK there

#cd javaDevelope/netbeans/bin
#sudo ./netbeans --jdkhome /usr/java/jdk.5.0_05/

Ready to Use

Now you can develope any java project!