I am trying to compile java using xemacs on Windows xp. When I hit compile, I get
the error "Cannot find jdk's tool jar file (or equivalent). See
Jde-get-jdk-dir."
any ideas?? Thanks. |
Request for Question Clarification by
maniac-ga
on
18 Sep 2003 19:15 PDT
Hello Jimmyrosu,
From the messages you describe, I am assuming you are using JDEE with
Xemacs
http://jdee.sunsite.dk/
if this is not true - please confirm any additional tools you are
using with Xemacs or if you are just using Meta-X Compile (to start
make -k or another command).
If using JDEE, it appears that error is generated in beanshell.el. By
following the source, it appears that you need to have the file
"tools.jar" in a directory named "lib" in the same directory as your
compiler.
Please confirm you have "tools.jar", describe where it is and if not -
which Java Development kit are you using so I can suggest further
steps to get your machine set up properly.
--Maniac
|
Clarification of Question by
jimmyjrosu-ga
on
19 Sep 2003 03:54 PDT
I am currently using j2re1.4.2_01, in my java/j2re1.4.2_01/lib folder,
there is a tools.jar file. I downloaded the jdee from the site you
sent (as it was also suggested by a java book i have) but was not sure
what to do with it after it was downloaded. One other note, my path
for java was not set prior to installing xemacs, could that effect it?
|
Request for Question Clarification by
maniac-ga
on
20 Sep 2003 07:12 PDT
Hello Jimmyjrosu,
As far as I can tell the JAVA_PATH is not used in jdee. Based on your
original message - I also expect that jdee is already installed in
your XEmacs as well. There are two places in the code / documentation
that appear to be relevant.
[1] There is code that looks for java.exe in your PATH variable. If
this is set correctly, the code should find the tools.jar file in the
same directory tree.
[2] The user's guide
http://jdee.sunsite.dk/jdedoc/html/jde-ug/jde-ug.html
(or in the download in the doc/html directory)
mentions 'registering' the JDK which includes specifying the path to
your Java installation.
If these don't help or you the "register" steps don't work - tell me
what messages you are getting so I can track down the next problem.
--Maniac
|
Request for Question Clarification by
maniac-ga
on
25 Sep 2003 05:01 PDT
Hello Jimmyjrosu,
Has your problem been resolved? If not, I can still help - please
describe the current problem. If so, let me know so I can submit a
proper answer.
--Maniac
|
Clarification of Question by
jimmyjrosu-ga
on
25 Sep 2003 05:27 PDT
I am sorry for not responding. Unfortunatly this is the first week of
classes for autumn quarter and I am taking more credit hours than
normal so I will be back to programming in RESOLVE/C++ and assembly
language. I will have no time to work on learning java.
FORTUNATLY, I am sure the last link you gave me will provide me with
the needed information when I have the time to read it. Considering
this is just a $5.00 question, I do not expect you(or any other ga
answerer) to wade through all the information at that link to find the
needed information. That being said, I will accept the current
information that you have given as an answer.
Thanks for the response, its the first question in a while that I have
posted that actually got real attention.
|