I must be really dumb, but here goes. Before I describe the problem, let
me just say that I have
1) Read the manuals and FAQ and Troubleshooting guide
2) looked at the code
3) searched list archives for related problems
This refers to jde-2.2.5.
So, I use 1.2.2 vm, not 1.3. Thus, jde-bug-vm-includes-jpda-p is
appropriately nil, and I have set jde-bug-jpda-directory
appropriately. Now, according to the code in jde-dbs.el, when it
constructs the classpath for vm, it runs the following code:
(format
(if jde-bug-debug
"%sclasses%s%s"
"%ssrc%s%slib/jde.jar%s%s" )
jde-java-directory
jde-classpath-separator
jde-java-directory
jde-classpath-separator
(expand-file-name
"lib/jpda.jar" jde-bug-jpda-directory))
Which results in the following classpath (taken from *JDEbug* buffer,
newlines are put here manually to make it easier to read)
/usr/home/ggolberg/jde-2.2.5/java/src:
/usr/home/ggolberg/jde-2.2.5/java/lib/jde.jar:
/usr/local/lib/java2/lib/jpda.jar
In perfect accordance with the code. However, how is the debugger supposed
to find runtime classes with this classpath? I am getting
Unable to initialize threads: cannot find class java/lang/Thread
which is reasonable, given that no runtime jars are added to the
classpath.
So what am I missing?