[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems installing Netbeans...



I was finally able to get Netbeans runnning on Debian, but I had to
use the 5.0 Linux installer, not the 5.5. I have pasted my message
from the Netbeans user list below for everyone's reference.

Thanks for the help guys. I really appreciate it.

Scott Huey

Tom,

I tried to just use the archive like you suggested. I got Netbeans to
fire up, but I was warned about all types of modules that didn't load
becuase Java 1.5 wasn't available. (The Debian package for the 1.5 JDK
is installed on my system, however.)

After fooling with this some more I decided to try the Netbeans 5.0
installer for Linux and it worked! It still didn't detect my 1.5 JDK,
but I was able to browse for the proper directory and the installation
completed sucessfully.

This makes me wonder if there is a bug in the Netbeans 5.5 installer,
at least on Debian. Or perhaps the bug is common to both installers,
since niether one recognized the 1.5 JDK? (I should note that the
Blackdown package of the JDK installs in the /usr/lib/j2se directory
on Debian, but the latest Sun package of the JDK installs in the
/usr/lib/jvm directory. Perhaps this is the cause of the problem?)

At any rate, I could get the Netbeans 5.0 installer to work if I told
it where my JDK was, the Netbeans 5.5 installer is still dead in the
water.

Where should I file a bug report for the Netbeans 5.5 Linux installer?
Should I file one for the failure of the Netbeans 5.0 to detect the
JDK?

Let me know what you think.

Thanks a lot for your help with this. I'm very happy to have Netbeans
installed on my Linux box. If I can get things working correctly
perhaps I can start work on a "defacto" Debian package for Netbeans.

Scott Huey

On 9/26/06, Redefined Horizons <redefined.horizons@gmail.com> wrote:
I develop Java programs on Debian, and I thought I'd try getting
Netbeans installed. (I'm currently using Eclipse.) I know there isn't
a Debian package for Netbeans yet, so I thought that I would try
installing directly from the .bin file provided for Linux at the
Netbeans site.

The instructions say that Java 1.4 is required for the installer to
work. I have installed the 1.4 JDK using the Blackdown packages.
However, I can't seem to get the installer to find the JDK
installation. Here is the command I use to execute the installer:

/home/myuser/programs/netbeans/neatbeans-5_5-beta2-linux.bin
-is:javahome /usr/lib/j2se/1.4/

I've tried several different paths as the value of the javahome
argument, including:

javahome /usr/lib/j2se/1.4/bin
javahome /usr/lib/j2se/1.4/jre
javahome /usr/lib/j2se
javahome /usr/lib/j2se/1.4

None of them seem to work.

What exactly is the "path to the JDK" that is needed by the installer.
Can anyone help me get Netbeans up and running on Debian?

Scott Huey




Reply to: