This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
"VM initialization has failed" error I get the same error as reported by Debugger faq http://www.netbeans.org/kb/faqs/debugger.html#FAQ_5 I have even tried the suggested resolution. I uninstalled JDK and Netbeans; removed c:\windows\.netbeans[version], removed c:\jdk1_4_2.01. Restarted after uninstalled. Reinstalled, netbeans and jdk under paths with no spaces c:\netbeans3_6 c:\j2sdk1_4_2_01 Restarted after installed Also tried pointing the External Process to c:\j2sdk1_4_2_01\bin\java.exe Still get the same error message What is wierd is that netbeans 3.5's debugger worked fine with default install directories, it might be the new arcitecture has not been fully implemented.
The Debugger FAQ does mention that the JPDA be installed seperately as of jsdk1.3.x for netbeans
Lubomir: Can you try to reproduce and evaluate this bug, please? I do not have access to Win98. Thanks Hanz
I tried, but was not succesfull. Debugger worked fine and I could not find any way to stop it work when everything was installed correctly.
I will uninstall both netbeans and Java and look at the logs. Give some clues where I might be able to look. Also when I reinstall my machine or my father does I will try to examine there too. My father's looking like it's aching to be re-installed so, keep this open till win98 is least popular used on the internet. I plan to reinstall soon myself as, having that debugger not working is a real pain. It will be a carefull installation as me and my father make sure we not caught up in DLL hell. I made a program that is similar to winxp and winme (i think) :) Made using Netbeans might i add. :) http://81.98.115.45:8083 see sfcfiler under portfolio If it installs fine then it is my machine if it does not, I will do my best to get as much details. If you do close this bug, I will email somone(or a bunch) from this bug thread my findings. Wish me luck :)
I will also write step by steps of my uninstalls and installs
I suggest you to install NetBeans IDE 3.6 + j2se 1.4.2_04 bundle. The bundle can be downloaded from http://java.sun.com/j2se/1.4.2/download-netbeans.html. I wish you luck
*** Issue 45660 has been marked as a duplicate of this issue. ***
I used the recommended versions and still get the problem.
Dear Ian, When I try to debug the colorpicker example with an updated Netbeans under Windows 98 SE with JAVA 1.4.2_04 I get: C:\j2sdk1.4.2_04\bin\java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=127.0.0.1:2357,suspend=y -Djava.compiler=NONE -classpath "C:\WINDOWS\.netbeans\3.6\system;C:\WINDOWS\.netbeans\3.6\system;C:\NETBEANS3.6\system;C:\NETBEANS3.6\modules\ext\AbsoluteLayout.jar;C:\NETBEANS3.6\modules\ext\junit-3.8.1.jar;C:\NETBEANS3.6\modules\ext\junit-testrunner.jar;C:\NETBEANS3.6\modules\autoload\ext\jsp-api-2.0.jar;C:\NETBEANS3.6\modules\autoload\ext\servlet-api-2.4.jar;C:\WINDOWS\.netbeans\3.6\sampledir;C:\NETBEANS3.6\beans\TimerBean.jar" examples.colorpicker.ColorPicker err:: No such file or directory Error [2] in gethostbyname() call! Socket transport failed to init. Transport dt_socket failed to initialize, rc = -1. in the debugger console. Does this help? If not, what else can I do for you?
Created attachment 16277 [details] Log of error
Sorry I have been a while. -I did do a uninstalled JDK,Netbeans and the JRE. -I downloaded and installed the bundled Netbeans. -Installed Netbeans3.6 and JDK1.4.2_04 [default settings] -Restarted -Installed JRE 1.4.2_04 for windows -Restarted -Ran Netbeans -Opened Color Picker -Put a BREAKPOINT on line 106 of code -Click on "Run in Debugger" -The output of error is still same reported as above. ---START OF SETTINGS FOR DEFAULT DEBUGGER----- Options->Debugging and Executing->Debugger Types->Default Debugging EXTERNAL PROCESS={jdk.home}{/}bin{/}java {classic}{assertEnabled}{debuggerOptions} -Djava.compiler=NONE -classpath {q}{filesystems}{q} {main} IMPLEMENTATION=Default Debgger (JPDA) IDENTIFYING NAME=Default Debugging BOOT CLASSPATH=C:\J2SDK1.4.2_04\JRE\lib\rt.jar;C:\J2SDK1.4.2_04\JRE\lib\i18n.jar;C:\J2SDK1.4.2_04\JRE\lib\sunrsasign.jar;C:\J2SDK1.4.2_04\JRE\lib\jsse.jar;C:\J2SDK1.4.2_04\JRE\lib\jce.jar;C:\J2SDK1.4.2_04\JRE\lib\charsets.jar;C:\J2SDK1.4.2_04\JRE\classes;C:\J2SDK1.4.2_04\JRE\lib\ext\dnsns.jar;C:\J2SDK1.4.2_04\JRE\lib\ext\ldapsec.jar;C:\J2SDK1.4.2_04\JRE\lib\ext\sunjce_provider.jar;C:\J2SDK1.4.2_04\JRE\lib\ext\localedata.jar CLASSPATH="C:\PROGRAM FILES\NETBEANS3.6\lib\ext\boot.jar;C:\j2sdk1.4.2_04\lib\dt.jar;C:\j2sdk1.4.2_04\lib\tools.jar" ---END OF SETTINGS FOR DEFAULT DEBUGGER-----
Also checked the "CLASSPATH", "BOOT CLASSPATH" settings They exist. No mistakes in the filenames.
Created attachment 16288 [details] Slightly different log file of my Netbeans
You have some problem with network, I think. Debugger needs "localhost" to be resolved correctly. See:http://www.netbeans.org/kb/faqs/debugger.html for more info.
I was able to get things working using the shared memory changes to ide.cfg in the FAQ. This still did not work with setting c:\Windows\hosts for localhost.
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.