Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I am in the process of installing Netbeans to use with my Java 1.6.0_03 environment on Linux. Netbeans was unable to locate my Java environment so I had to ...
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    7

    Netbeans for Java

    Hi,
    I am in the process of installing Netbeans to use with my Java 1.6.0_03 environment on Linux. Netbeans was unable to locate my Java environment so I had to locate it manually. As far as I can see, it is located in /usr/java/1.6.0_03. This is certainly the directory that the firefox Java plugin is linked too. Netbeans is asking for the Home directory, but when I add the location above I am given an error message and asked to specify the java home directory. Does anyone know what I am doing wrong here. Should I be locating a subfolder (I don't see a home subfolder) of some sort within 1.6.0_03, or am I trying to link Netbeans to the wrong folder entirely?

    Thanks,

    Tim

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    What Linux distro are you using? You could try doing
    Code:
    export PATH=$PATH:/usr/java/jdk1.6.0_03/bin
    after that run the netbeans installer from the same terminal or terminal emulator.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...