my dog learned polymorphism*
The moose likes Linux / UNIX and the fly likes problem installing Netbean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "problem installing Netbean" Watch "problem installing Netbean" New topic
Author

problem installing Netbean

Yewint Ko
Ranch Hand

Joined: Aug 02, 2009
Posts: 90
Hi all,
Today I download Netbean for my fedora. then I try installed .



But I get following error.



As I am fresher to Llinux I don't know what to do.Somebody help me please.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Did you install a JDK? You will need either a Sun JDK or OpenJDK. Did you set JAVA_HOME to the JDK's installation directory?


JBoss In Action
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4646
    
    5

I always download the bundle of Netbeans and the latest JDK. It avoids this problem.
Yewint Ko
Ranch Hand

Joined: Aug 02, 2009
Posts: 90
Which command to use for setting variable?

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

Yewint Ko wrote:Which command to use for setting variable?

I have the JDK installed at /usr/java/jdk1.6.0_17 and set JAVA_HOME using:

export JAVA_HOME=/usr/java/jdk1.6.0_17
Yewint Ko
Ranch Hand

Joined: Aug 02, 2009
Posts: 90
Peter Johnson wrote:
Yewint Ko wrote:Which command to use for setting variable?

I have the JDK installed at /usr/java/jdk1.6.0_17 and set JAVA_HOME using:

export JAVA_HOME=/usr/java/jdk1.6.0_17


yes. but I can no longer use it after restarting the command prompt. The above command seems to set JAVA_HOME temporarily.
I want it to be permanent. Any other command? And I also want to know how to set PATH.
Somebody help me when you are free.
thanks
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

To make it permanent, edit the ~/.bashrc file, placing the export statement in there. You can do the same with PATH. Here is an example of setting PATH:

export PATH=$JAVA_HOME/bin:$PATH
Yewint Ko
Ranch Hand

Joined: Aug 02, 2009
Posts: 90
Thanks peter. really thanks.
 
wood burning stoves
 
subject: problem installing Netbean