dcsimg
My project is using JDK 1.1.7b. When I try to launch the debugger, I get an error about launching the VM.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kesh_Murthy
Posted On:   Tuesday, June 26, 2001 09:37 AM

I am trying to debug java tester application and get the following errors:

Cannot start Java debug process VM --

com.sun.jdi.connect.VMStartException: VM initialization failed for: C:3rdPartysunjdk1.1.7B injavaw

-Xdebug: illegal argument
usage: java [-options] class

I need help as to how to solve this and do debugging with Jbuilder and 117b.

Thanks
Kesh

Re: My project is using JDK 1.1.7b. When I try to launch the debugger, I get an error about launching the VM.

Posted By:   Paul_Davis  
Posted On:   Wednesday, July 11, 2001 02:31 PM

Kesh,


If you are using JB4/5 then I don't think you can - JB4/5 use JPDA for their debugging which is a Java 2 (ie JDK1.2+) feature. So while you can run projects in JBuilder using JDK 1.1.x, you cannot debug them.


The error message is because the 1.1.x VM does not understand the -Xdebug argument which JBuilder automatically appends (because this is a JPDA switch which JBuilder expects to be recognised etc etc).


We had a similar problem with 1.1.8 and JB4 and our Borland pre/post-sales guy checked with the techs and they said no it wasn't possible. Sorry not to be able to be more helpful


Paul Davis
About | Sitemap | Contact