🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.debugger
Article #244

Re: -- Cannot start Java debug process VM --

#244
From: Daniels.Douglas
Date: Mon, 18 Jul 2005 14:47
26 lines
2321 bytes
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:\Borland\JBuilderX\jdk1.4, or C:\Borland\JBuilder2005\jdk1.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:\Borland\JBuilder2005\jdk1.4\bin\javaw -classpath  <<PROJECT SPECIFIC
STUFF>> -Xrunjdwp:transport=dt_socket,address=danielsdo:3076,suspend=y
Transport dt_socket failed to initialize, rc = 509.

--------------------------------------
Technical Details
Message-ID: <1121698079.707015.103130@g14g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail
References: <42bffeed$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff5c5,2934ed08a12401e4
X-Google-Attributes: gidff5c5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail
From: Daniels.Douglas@gmail.com
Newsgroups: borland.public.jbuilder.debugger
Subject: Re: -- Cannot start Java debug process VM --
Date: 18 Jul 2005 07:47:59 -0700
Organization: http://groups.google.com
Lines: 27
Message-ID: <1121698079.707015.103130@g14g2000cwa.googlegroups.com>
References: <42bffeed$1@newsgroups.borland.com>
NNTP-Posting-Host: 192.160.62.60
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1121698085 20786 127.0.0.1 (18 Jul 2005 14:48:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 18 Jul 2005 14:48:05 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: g14g2000cwa.googlegroups.com; posting-host=192.160.62.60;
   posting-account=PAqqvw0AAABi8cV_uCNxXVUXQDqkKUgR