Google Answers Logo
View Question
 
Q: XEMACS: problems compiling java using xemacs ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: XEMACS: problems compiling java using xemacs
Category: Computers > Programming
Asked by: jimmyjrosu-ga
List Price: $5.00
Posted: 18 Sep 2003 05:21 PDT
Expires: 18 Oct 2003 05:21 PDT
Question ID: 257970
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.
Answer  
Subject: Re: XEMACS: problems compiling java using xemacs
Answered By: maniac-ga on 26 Sep 2003 07:44 PDT
Rated:5 out of 5 stars
 
Hello Jimmyjrosu,

To recap, there are a few steps necessary to ensure your Java
development kit is set up properly in Xemacs / jdee. These include:

[1] Ensure that java.exe is in your path. Also ensure that the other
required items (e.g., the lib directory) is in that same location.

[2] Follow the instructions in
  http://jdee.sunsite.dk/jdedoc/html/jde-ug/jde-ug.html
which describes the steps necessary to "register" the java development
kit with jdee.

Other references on line can be found by searching with phrases like
  xemacs java windows
  xemacs java compile

Or viewing sites such as
  http://www.geocities.com/SiliconValley/Lakes/1506/
(mirror of jde site - refers to a mailing list for support and has
other guides)

  http://www.csd.uwo.ca/gradstudents/wozniak/xemacs_jdk.html
(a guide to setting up Xemacs and JDE on Windows)

  news:comp.emacs.xemacs
  http://groups.google.com/groups?q=comp.emacs.xemacs
(newsgroup for xemacs - the second link allows searching)

If you are still having problems - don't hesitate to use a
clarification request to get additional information. I'll be glad to
help.

  --Maniac
jimmyjrosu-ga rated this answer:5 out of 5 stars
Thanks for all the exceptional information.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy