Len Trigg
-
2011-06-10
- status: open --> open-fixed
Assuming your darwin/mac os env is ...
JAVA_VERSION=1.6.0
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
... then the classes.jar file is not in Classes, but in ../Classes.
Suggested fix is below.
---
from jde.el
<snip>
(defun jde-get-tools-jar ()
"Gets the correct tools.jar or equivalent. Signals an
error if it cannot find the jar."
(let ((tools
(expand-file-name
(if (eq system-type 'darwin)
"../Classes/classes.jar"
"lib/tools.jar")
(jde-get-jdk-dir))))
(if (file-exists-p tools)
tools
(error (concat "Cannot find JDK's tools jar file (or equivalent)."
"Type M-x describe-function [RET] jde-get-jdk-dir for more info.")))))