BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

-- Cannot start Java debug process VM --

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Debugger
View previous topic :: View next topic  
Author Message
apostolish
Guest





PostPosted: Mon Jun 27, 2005 1:29 pm    Post subject: -- Cannot start Java debug process VM -- Reply with quote



Hello,
I work with JbuilderX.
Until now, i used to work without any problem, but now with all my projects
i have the same problem .
When i execute (press button) 'Debug Project' always i have the same message
:

-- Cannot start Java debug process VM --

com.sun.jdi.connect.VMStartException: VM initialization failed for:
C:JBuilderXjdk1.4binjavaw -classpath "C:JBuilderXlibdx.jar;
C:JBuilderXjdk1.4libdt.jar;C:JBuilderXjdk1.4libhtmlconverter.jar;
...............................................................
C:JBuilderXjdk1.4libtools.jar"
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,addres
s=server:1064,
suspend=y prog.s.kodikologio.kodik
Transport dt_socket failed to initialize, rc = 509.


How can l fix this?
Thanks in advance.
Apostolis
Hatziyannis.



--


Back to top
Daniels.Douglas@gmail.com
Guest





PostPosted: Mon Jul 18, 2005 2:47 pm    Post subject: Re: -- Cannot start Java debug process VM -- Reply with quote



I received the same error you had except I was using JBuilder 2005, and
JDK 1.4. What had occurred was my JAVA_HOME environment variable was
pointing to an old JBuilder that I used to have installed, and also my
PATH environment variable was using that JAVA_HOME variable to point to
%JAVA_HOME%bin, which because JAVA_HOME was incorrect the dt.dll was
not found thus causing that error, or so it would seem.

So to solve this check your JAVA_HOME environment variable, and make
sure it points to the jdk installed with your JBuilder, (usually
C:BorlandJBuilderXjdk1.4, or C:BorlandJBuilder2005jdk1.4). Also
make sure if you have JDK bin on your path that it looks like this:
%JAVA_HOME%bin
or explicitly put the JDK directory their instead.

Here is my error using JDK 1.4 that was supplied with JBuilder 2005, I
took out all the project specific stuff because it just clutters it, I
left the dt socket parameters though:

-- Cannot start Java debug process VM --

com.sun.jdi.connect.VMStartException: VM initialization failed for:
C:BorlandJBuilder2005jdk1.4binjavaw -classpath < STUFF>> -Xrunjdwp:transport=dt_socket,address=danielsdo:3076,suspend=y
Transport dt_socket failed to initialize, rc = 509.

--------------------------------------

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Debugger All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.