Netbeans 6.1 final, Install breaks/Won't start up

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

Netbeans 6.1 final, Install breaks/Won't start up

by jmcmahon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yesterday I tired to upgrade from 6.0 to 6.1 and meet with disastrous results. Not only can I not get 6.1 to work but I also completely hosed my 6.0 install. I'm using windows 2000 sp4, and jdk1.6.0_04 (which I later upgraded to _06 in hopes that it would fix the problems). When I try and install Netbeans 6.1 it hangs at the end of the install at "Saving installed files list". The only way I can get out of this is to hit cancel. Then when I try and start it up it hangs on starting modules and I have to kill the process. This is true even when I choice not to import old settings. Netbeans 6.0 now hangs at the exact same spot. So I tried wiping out my old netbeans install and clearing out all the netbeans directories in my home dir. Still no luck. I've got a project to work on, and I'm stuck in limbo trying to get this to work, please tell me there is a fix for this.

Thank you.

Re: Netbeans 6.1 final, Install breaks/Won't start up

by Martin.Novak@Sun.Com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.
  Not sure what happened with your installer. Try to execute netbeans
from commandline with --userdir <path_to_new_userdir> switch (to read
more about userdir, follow http://wiki.netbeans.org/FaqWhatIsUserdir).
If it helps, you can put that switch directly into
/netbeans/etc/netbeans.conf. If it won't work I would suggest you not to
use installer, but download zip instead. There's a link on the download
page. Just unzip it and run your netbeans. I personally use installer
only when I need to install additional runtime...

Hope that helps.
Martin

> Yesterday I tired to upgrade from 6.0 to 6.1 and meet with disastrous
> results. Not only can I not get 6.1 to work but I also completely hosed my
> 6.0 install. I'm using windows 2000 sp4, and jdk1.6.0_04 (which I later
> upgraded to _06 in hopes that it would fix the problems). When I try and
> install Netbeans 6.1 it hangs at the end of the install at "Saving installed
> files list". The only way I can get out of this is to hit cancel. Then when
> I try and start it up it hangs on starting modules and I have to kill the
> process. This is true even when I choice not to import old settings.
> Netbeans 6.0 now hangs at the exact same spot. So I tried wiping out my old
> netbeans install and clearing out all the netbeans directories in my home
> dir. Still no luck. I've got a project to work on, and I'm stuck in limbo
> trying to get this to work, please tell me there is a fix for this.
>
> Thank you.
>  


Re: Netbeans 6.1 final, Install breaks/Won't start up

by jmcmahon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for your reply Martin.

Just as a follow up to my post. I ended up using the installer-less zip and that worked fine.

Martin.Novak@Sun.Com wrote:
Hi.
  Not sure what happened with your installer. Try to execute netbeans
from commandline with --userdir <path_to_new_userdir> switch (to read
more about userdir, follow http://wiki.netbeans.org/FaqWhatIsUserdir).
If it helps, you can put that switch directly into
/netbeans/etc/netbeans.conf. If it won't work I would suggest you not to
use installer, but download zip instead. There's a link on the download
page. Just unzip it and run your netbeans. I personally use installer
only when I need to install additional runtime...

Hope that helps.
Martin
> Yesterday I tired to upgrade from 6.0 to 6.1 and meet with disastrous
> results. Not only can I not get 6.1 to work but I also completely hosed my
> 6.0 install. I'm using windows 2000 sp4, and jdk1.6.0_04 (which I later
> upgraded to _06 in hopes that it would fix the problems). When I try and
> install Netbeans 6.1 it hangs at the end of the install at "Saving installed
> files list". The only way I can get out of this is to hit cancel. Then when
> I try and start it up it hangs on starting modules and I have to kill the
> process. This is true even when I choice not to import old settings.
> Netbeans 6.0 now hangs at the exact same spot. So I tried wiping out my old
> netbeans install and clearing out all the netbeans directories in my home
> dir. Still no luck. I've got a project to work on, and I'm stuck in limbo
> trying to get this to work, please tell me there is a fix for this.
>
> Thank you.
>  

Re: Netbeans 6.1 final, Install breaks/Won't start up

by stv2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

jmcmahon wrote:
Thank you for your reply Martin.

Just as a follow up to my post. I ended up using the installer-less zip and that worked fine.
I have a problem similar to yours (also Win2k, etc), but my install of 6.1 went to completion. Whenever I try to start NetBeans, nothing seems to happen. I can see in Task Manager that it starts up and then immediately exits. No idea why.

Anyway, I wanted to try the "installer-less zip". I went to http://download.netbeans.org/netbeans/6.1/final/zip/ and downloaded a couple of the zips, but nothing seems to be what I need.

Can you please take a few moments, and describe the install that worked for you? Or, point me to the instructions? Gee, thanks!

Re: Netbeans 6.1 final, Install breaks/Won't start up

by jmcmahon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


stv2 wrote:
jmcmahon wrote:
Thank you for your reply Martin.

Just as a follow up to my post. I ended up using the installer-less zip and that worked fine.
I have a problem similar to yours (also Win2k, etc), but my install of 6.1 went to completion. Whenever I try to start NetBeans, nothing seems to happen. I can see in Task Manager that it starts up and then immediately exits. No idea why.

Anyway, I wanted to try the "installer-less zip". I went to http://download.netbeans.org/netbeans/6.1/final/zip/ and downloaded a couple of the zips, but nothing seems to be what I need.

Can you please take a few moments, and describe the install that worked for you? Or, point me to the instructions? Gee, thanks!
I personally used http://download.netbeans.org/netbeans/6.1/final/zip/netbeans-6.1-200804211638.zip, that is the has everything. But you can do to http://download.netbeans.org/netbeans/6.1/final/ and change the OS selection to "OS independent zip file" and it will let you select what is included in your zip file. Once you have that just unzip the file into a directory and run the exe located in the bin directory.

Re: Netbeans 6.1 final, Install breaks/Won't start up

by stv2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Okay, I un-zipped that and tried it, and same results, namely nothing. The IDE does not start up.

I have looked in the Event Viewer, and looked for "Debugging" or "Logging" options to netbeans.exe and nbexec.exe, to try to figure out what is going wrong, but maybe someone reading this will recognize what is going on. Or, at least, have an idea of how to debug this problem.

stv2 wrote:
I have a problem similar to yours (also Win2k, etc), but my install of 6.1 went to completion. Whenever I try to start NetBeans, nothing seems to happen. I can see in Task Manager that it starts up and then immediately exits. No idea why.

Re: Netbeans 6.1 final, Install breaks/Won't start up

by Karthikeyan Rajeswaran :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

http://blogs.sun.com/NetBeansSupport/entry/ide_hangs_or_closes

Does it help?

regards,
karthik

stv2 wrote:
Okay, I un-zipped that and tried it, and same results, namely nothing. The
IDE does not start up.

I have looked in the Event Viewer, and looked for "Debugging" or "Logging"
options to netbeans.exe and nbexec.exe, to try to figure out what is going
wrong, but maybe someone reading this will recognize what is going on. Or,
at least, have an idea of how to debug this problem.


stv2 wrote:
  
I have a problem similar to yours (also Win2k, etc), but my install of 6.1
went to completion. Whenever I try to start NetBeans, nothing seems to
happen. I can see in Task Manager that it starts up and then immediately
exits. No idea why.


    

  

Re: Netbeans 6.1 final, Install breaks/Won't start up

by stv2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for trying, karthik. But, var/log was empty, and none of the other things in the document you sent got any traction.

My problem was that there was an old "set _JAVA_OPTIONS" in my environment, and it was pointing to some old .jar files that were causing the problem somehow. I removed the environment variable, and now it works.

Re: Netbeans 6.1 final, Install breaks/Won't start up

by kayeesea :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

stv2 wrote:
My problem was that there was an old "set _JAVA_OPTIONS" in my environment, and it was pointing to some old .jar files that were causing the problem somehow. I removed the environment variable, and now it works.
I'm able to launch netbeans 6.1 by using nb.exe however if I use netbeans.exe nothing happens.  I wanted to try the fix you used but I don't quite understand where I would go to do so.

Re: Netbeans 6.1 final, Install breaks/Won't start up

by stv2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

To see if you have an environment variable set, open a "cmd" window, type "set" and <enter>. Look for the word "java". If you don't see it, then an environment variable is not your problem.

kayeesea wrote:
I'm able to launch netbeans 6.1 by using nb.exe however if I use netbeans.exe nothing happens.  I wanted to try the fix you used but I don't quite understand where I would go to do so.