At 09:20 PM 3/28/00 +0100, you wrote:
>>>> Adam Ambrose <[EMAIL PROTECTED]> 28-Mar-00 8:47:25 PM >>>
>
>>Perhaps this is solved in a cleaner manner?  If so, I'd be
>interested in
>>hearing.
>
>Couldn't the JDE just use the JDK?  (instead of the JRE)
>
>It seems that the problem is related to the fact that the JRE is not
>expected to carry the JPDA stuff - this seems reasonable to me since
>the JRE is not a developer tool.
>

I agree. I need to look into this further. But here's the situation as I
understand it now. The debugger launches a debuggee process by launching a
vm to run the process and then connecting to the vm via a socket
(Unix/Linux) or global memory (Windows). In order to launch the debuggee
process, the debugger has to be able to find a vm executable on your
system. Where the debugger looks depends on whether the command to launch
the debuggee process specifies a home directory for the vm. If the command
to launch the debuggee process does not specify a home directory, the
debugger gets the home directory from the value of the java.home java
system property. I'm not sure what determines the value of the java.home
system property. On Windows, it appears to always be the directory of the
JRE directory setup by the JDK installer. JDEbug by default does not
specify a java home directory in the command that it uses to launch a
debuggee process. So by default the vm used by the debugger is the one in
the most recently installed JDK's JRE directory, which of course does not
contain the debugger dynamic libraries. I recently added a variable,
however, that lets you specify a java home directory. If you set this
variable (jde-bug-jre-directory), JDEbug will use it to find the vm used to
launch debuggee processes. This directory is misnamed because I was foggy
on its purpose. So I intend to rename it to jde-bug-java-home, probably in
the next release.

Returning to the point you raised, perhaps I should change the launch
process command by default to specify the path of the JDK bin directory as
java home.

- Paul    

------------------------------------------------------------
ASKING FOR TECHNICAL SUPPORT ON THE JDE LIST

Please use the JDE->Help->Submit Problem Report command when reporting a
bug or seeking help. This command generates a complete snapshot of your
system. Submitting such a snapshot increases the chances that your request
will get a swift response. 

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

JDE website: http:/sunsite.auc.dk/jde/

JDE mailing list archive: 
http://www.mail-archive.com/[email protected]/maillist.html


Reply via email to