NetBeans 6.1 will not start

View: New views
4 Messages — Rating Filter:   Alert me  

NetBeans 6.1 will not start

by Gary Monnier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm very new to NetBeans and cannot determine why it (6.1) won't start up.
I'm running Windows XP.  It downloaded after many hours (I'm using a dialup
line).  I was able to start it after the download and install completed but
not since I restarted they system.  

I've tried running the command shown in the icon's properties several ways -
1) Double-clicking the icon, 2) From a command window and 3) from the run
line (start button->Run).  I receive "'\Program' is not recognized as an
internal or external command, operable program or batch file." when I run
\Program Files\NetBeans 6.1\bin\netbeans.exe from the command window.  It
does exist.  Double-clicking the icon or running \Program Files\NetBeans
6.1\bin\netbeans.exe from the run line appears to do nothing.




Re: NetBeans 6.1 will not start

by Marek Slama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Gary Monnier wrote:

> Hi,
>
> I'm very new to NetBeans and cannot determine why it (6.1) won't start up.
> I'm running Windows XP.  It downloaded after many hours (I'm using a dialup
> line).  I was able to start it after the download and install completed but
> not since I restarted they system.  
>
> I've tried running the command shown in the icon's properties several ways -
> 1) Double-clicking the icon, 2) From a command window and 3) from the run
> line (start button->Run).  I receive "'\Program' is not recognized as an
> internal or external command, operable program or batch file." when I run
> \Program Files\NetBeans 6.1\bin\netbeans.exe from the command window.  It
> does exist.  Double-clicking the icon or running \Program Files\NetBeans
> 6.1\bin\netbeans.exe from the run line appears to do nothing.
>
>
>
>  
It requires java to be present on system. Try to run netbeans.exe
--jdkhome <Path to JDK>
eg. netbeans --jdkhome "C:\Program Files\Java\jdk1.6.0_10"

Note double quotes around path are necessary if path contains spaces.

Marek

RE: NetBeans 6.1 will not start

by Gary Monnier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Marek,

Thanks for the tip.  I tried it but it didn't work.  I'm trying to reinstall
NetBeans and run into the following error with the installer

Install the NetBeans IDE to:
 C:\Program Files\NetBeans 6.1

JDK for the NetBeans IDE:
 C:\Program Files\Java\jdk1.6.0_07

The installer could not find a compatible JDK installation.  The minimum
required version is 1.5.0_06.  Specify JDK folder manually.


An unknown error occurred while validating the path.


-----Original Message-----
From: Marek.Slama@... [mailto:Marek.Slama@...]
Sent: Thursday, November 06, 2008 8:14 AM
To: nbusers@...
Subject: Re: [nbusers] NetBeans 6.1 will not start

Gary Monnier wrote:
> Hi,
>
> I'm very new to NetBeans and cannot determine why it (6.1) won't start up.
> I'm running Windows XP.  It downloaded after many hours (I'm using a
dialup
> line).  I was able to start it after the download and install completed
but
> not since I restarted they system.  
>
> I've tried running the command shown in the icon's properties several ways
-

> 1) Double-clicking the icon, 2) From a command window and 3) from the run
> line (start button->Run).  I receive "'\Program' is not recognized as an
> internal or external command, operable program or batch file." when I run
> \Program Files\NetBeans 6.1\bin\netbeans.exe from the command window.  It
> does exist.  Double-clicking the icon or running \Program Files\NetBeans
> 6.1\bin\netbeans.exe from the run line appears to do nothing.
>
>
>
>  
It requires java to be present on system. Try to run netbeans.exe
--jdkhome <Path to JDK>
eg. netbeans --jdkhome "C:\Program Files\Java\jdk1.6.0_10"

Note double quotes around path are necessary if path contains spaces.

Marek



RE: NetBeans 6.1 will not start

by krysP :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So it let you install it the first time and you didn't get the 'no compatible jdk message?'..odd..  Let see..  .. You should have a standard user dir in c:/documents and settings/<your accountname>/.netbeans/6.1/var/log... If you have an old messages.log in that directory it will tell you the jdk used in the
4th or 5th line...  If it is as expected, then let's just rename the entire 6.1
userdir tree to  something like "original6.1" . The next startup will start with a clean userdir. You may need to use --jdkhome again.

/krys