Hi everybody,
I've some problem with NetBeans 3.6, I can't debug my code. When I launch a
debug session, some message appears :
Incorrect Configuration
Exception while starting debugger :
Cannot start process c:\j2sdk_nb\j2sdk1.4.2\bin\java.exe
java.io.IOException: VM initialization failed
Following in the tabpage Process Output, displaying following message :
FATAL ERROR in native method: No transports initialized
----------------------------------------------------------------------------
-----------------------
Following in the tabpage Debugger Console , displaying following message :
C:\j2sdk_nb\j2sdk1.4.2\bin\java.exe -Xdebug -Xnoagent -Xrunjdwp:transport=dt
_socket,address=127.0.0.1:1323,suspend=y -Djava.compiler=NONE -classpath
"C:\WINDOWS\.netbeans\3.6\system;C:\WINDOWS\.netbeans\3.6\system;C:\J2SDK_NB
\NETBEANS3.6\system;C:\J2SDK_NB\NETBEANS3.6\modules\ext\AbsoluteLayout.jar;C
:\J2SDK_NB\NETBEANS3.6\modules\ext\junit-3.8.1.jar;C:\J2SDK_NB\NETBEANS3.6\m
odules\ext\junit-testrunner.jar;C:\J2SDK_NB\NETBEANS3.6\modules\autoload\ext
\jsp-api-2.0.jar;C:\J2SDK_NB\NETBEANS3.6\modules\autoload\ext\servlet-api-2.
4.jar;C:\J2SDK_NB\NETBEANS3.6\beans\TimerBean.jar;C:\JavaProg\src;C:\j2sdk_n
b\hibernate-2.1\hibernate2.jar;C:\j2sdk_nb\hibernate-2.1\lib\ant-1.5.3.jar;C
:\j2sdk_nb\hibernate-2.1\lib\a
nt-optional-1.5.3.jar;C:\j2sdk_nb\hibernate-2.1\lib\c3p0-0.8.3.jar;C:\j2sdk_
nb\hibernate-2.1\lib\cglib-2.0-rc2.jar;C:\j2sdk_nb\hibernate-2.1\lib\commons
-collections-2.1.jar;C:\j2sdk_nb\hibernate-2.1\lib\commons-dbcp-1.1.jar;C:\j
2sdk_nb\hibernate-2.1\lib\commons-lang-1.0.1.jar;C:\j2sdk_nb\hibernate-2.1\l
ib\commons-logging-1.0.3.jar;C:\j2sdk_nb\hibernate-2.1\lib\commons-pool-1.1.
jar;C:\j2sdk_nb\hibernate-2.1\lib\concurrent-1.3.2.jar;C:\j2sdk_nb\hibernate
-2.1\lib\connector.jar;C:\j2sdk_nb\hibernate-2.1\lib\dom4j-1.4.jar;C:\j2sdk_
nb\hibernate-2.1\lib\ehcache-0.6.jar;C:\j2sdk_nb\hibernate-2.1\lib\jaas.jar;
C:\j2sdk_nb\hibernate-2.1\lib\jcs-1.0-dev.jar;C:\j2sdk_nb\hibernate-2.1\lib\
jdbc2_0-stdext
.jar;C:\j2sdk_nb\hibernate-2.1\lib\jgroups-2.2.jar;C:\j2sdk_nb\hibernate-2.1
\lib\jta.jar;C:\j2sdk_nb\hibernate-2.1\lib\junit-3.8.1.jar;C:\j2sdk_nb\hiber
nate-2.1\lib\log4j-1.2.8.jar;C:\j2sdk_nb\hibernate-2.1\lib\odmg-3.0.jar;C:\j
2sdk_nb\hibernate-2.1\lib\oscache-2.0.jar;C:\j2sdk_nb\hibernate-2.1\lib\prox
ool-0.8.3.jar;C:\j2sdk_nb\hibernate-2.1\lib\swarmcache-1.0rc2.jar;C:\j2sdk_n
b\hibernate-2.1\lib\xalan-2.4.0.jar;C:\j2sdk_nb\hibernate-2.1\lib\xerces-2.4
.0.jar;C:\j2sdk_nb\hibernate-2.1\lib\xml-apis.jar;C:\mysql\JDBC\mysql-connec
tor-java-3.0.9-stable\mysql-connector-java-3.0.9-stable-bin.jar;C:\JavaProg\
bin" com.jobsearch.application.JobSearch
err:: No such file or directory
Error [2] in gethostbyname() call!
Socket transport failed to init.
Transport dt_socket failed to initialize, rc = -1.
My configuration was :
JDK 1.4.2 04
NetBeans 3.6
Windows 98
If somebody have the same problem, could you said me how can I do solve this
problem ?
Thanks all
Bernard
Kheldar - 22 May 2004 14:25 GMT
I had the same Problem.
Try to run Netbeans with the parameter
-J-Dnetbeans.debugger.jpda.transport=dt_shmem
s gomory - 18 Nov 2004 00:38 GMT
had this problem on XP and tried several things which did not work
a) switching to netbeans 4.x
b) switching to dt_shmem
Didn't help at all.
I rebooted my XP machine and the problem went away.