[nbusers] Re: NetBeans kills itself in 1 second when starting up.

  • From: trhouse < >
  • To:
  • Subject: [nbusers] Re: NetBeans kills itself in 1 second when starting up.
  • Date: Sun, 28 Oct 2012 19:25:44 -0400

On 10/28/2012 6:10 PM, RoestVrijStaal wrote:
Sorry for this late reply guys.


Edson Richter wrote:
This only happened with me when trying to run NetBeans64.exe on Java
32bit. It wont work. I believe the contrary will not work as well.
What if you open a Command Prompt and execute "java -version"?

Can you confirm that your netbeans.conf file point to the correct Java 
directory?
In my netbeans.conf I have the following line:

netbeans_jdkhome="C:\Program Files\Java\jdk1.7.0_09"

when I run "java -version", I see:

C:\Users\richter>java -version
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

And then, I run NetBeans64.exe without any issues.

Regards

Edson
Sorry, I forgot to mention that i'm using 32-bits windows.
When I execute 'java -version' at CMD, the output is merely predictable:

Code:
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) Client VM (build 20.12-b01, mixed mode, sharing)



I've checked my netbeans.conf in the etc directory at Program Files. It's 
stating:


Code:
netbeans_jdkhome="C:\Program Files\Java\jdk1.6.0_37"



So yeah, no problems to notice there...


trhouse wrote:
When this has happened to me it was because I had set Xmx to to high a
value in the config file. Other values for other switches likely have
the same effect.


Do you mean that I have to change a parameter at this line in netbeans.conf?


Code:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m 
-J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true 
-J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true"




Honestly, I wouldn't know which parameter i should modify, since none of them 
have are named Xmx and also I don't know what the other do...

Regards,

RoestVrijStaal




Hi,
If you haven't set -Xmx then it's probably not that specific issue and is something else.


[nbusers] NetBeans kills itself in 1 second when starting up.

RoestVrijStaal 10/25/2012

[nbusers] Re: NetBeans kills itself in 1 second when starting up.

Edson Richter 10/26/2012

[nbusers] Re: NetBeans kills itself in 1 second when starting up.

trhouse 10/26/2012

[nbusers] NetBeans kills itself in 1 second when starting up.

RoestVrijStaal 10/28/2012

[nbusers] Re: NetBeans kills itself in 1 second when starting up.

trhouse 10/28/2012

[nbusers] Re: NetBeans kills itself in 1 second when starting up.

Edson Richter 10/28/2012

[nbusers] NetBeans kills itself in 1 second when starting up.

RoestVrijStaal 10/29/2012

[nbusers] NetBeans kills itself in 1 second when starting up.

RoestVrijStaal 10/31/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close