• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem installing Netbean

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Rancher
Posts: 4803
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I always download the bundle of Netbeans and the latest JDK. It avoids this problem.
 
Yewint Ko
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which command to use for setting variable?

 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks peter. really thanks.
 
reply
    Bookmark Topic Watch Topic
  • New Topic