个人工具

“UbuntuHelp:Netbeans4.1onAMD64”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第17行: 第17行:
 
* JDK 5.0 Update 5 for amd64 [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jdk-1.5.0_05-oth-JPR&SiteId=JSC&TransactionId=noreg here]
 
* JDK 5.0 Update 5 for amd64 [http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jdk-1.5.0_05-oth-JPR&SiteId=JSC&TransactionId=noreg here]
  
  ''You have to accept the License Agreement and select Linux AMD64 self-extracting file''
+
''You have to accept the License Agreement and select Linux AMD64 self-extracting file''
  
 
* NetBeans IDE 4.1 Archive [http://www.netbeans.info/downloads/download.php?p=1&a=bd&os=2&lang=1&rv=4.1&b_bt=2 here]
 
* NetBeans IDE 4.1 Archive [http://www.netbeans.info/downloads/download.php?p=1&a=bd&os=2&lang=1&rv=4.1&b_bt=2 here]
  
  ''Click on NetBeans IDE 4.1 Archive netbeans-4_1.tar.gz -> Next''
+
''Click on NetBeans IDE 4.1 Archive netbeans-4_1.tar.gz -> Next''
  
  ''Accept the License Agreement''
+
''Accept the License Agreement''
  
 
=== Install Software ===
 
=== Install Software ===
第36行: 第36行:
  
 
<pre><nowiki>
 
<pre><nowiki>
 +
#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
 
</nowiki></pre>
 
</nowiki></pre>
  
第43行: 第50行:
  
 
<pre><nowiki>
 
<pre><nowiki>
 +
#mv ~/downloads/netbeans-4_1.tar.gz ~/JavaDevelope/
 +
#tar -xzvf netbeans-4_1.tar.gz
 
</nowiki></pre>
 
</nowiki></pre>
  
第52行: 第61行:
  
 
<pre><nowiki>
 
<pre><nowiki>
 +
#cd javaDevelope/netbeans/bin
 +
#sudo ./netbeans --jdkhome /usr/java/jdk.5.0_05/
 
</nowiki></pre>
 
</nowiki></pre>
  

2007年5月24日 (四) 15:51的版本

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!