Re: How to set the path of Java run time environment for XAE?
Albert Chun-Chieh Huang <[email protected]> Tue, 07 Oct 2003 17:55:33 +0800
| Newsgroups | gmane.emacs.xae |
|---|---|
| Message-ID | <[email protected]> |
Reinout van Rees <[email protected]> writes: > On Tue, 7 Oct 2003, Albert Chun-Chieh Huang wrote: > >> It should be class path problem or something > >> but I don't know how to solve it in >> XAE, e.g. set java path explicitly in .emacs file. Is there anybody >> kind enough telling how to set the path? > > I don't know how to do this, but: > >> The error messages are: >> java.lang.NoClassDefFoundError: >> Files\\Java\\j2re1/4/1_02\\lib\\ext\\QTJava/zip;C:\\jdk1/3/1_07\\jre\\lib;d:/Home/site-lisp/xae/java/lib/xae/jar;d:/Home/site-lisp/xae/xsl-engines/saxon/saxon/jar >> xae/XMLToolServer > > It might be an error in copy-pasting the error message, but your path > starts with "Files\\....", later on I see "c:\\jd....". Is there a > "C:\\Program\ Files\\" or so missing in front? > No, it's not an error of copy-pasting. In WindowsXP, there is an environment variable CLASSPATH, which is valued "C:\Program Files\Java\j2re1.4.1_02\lib\ext\QTJava\zip;C:\jdk1.3.1_01\jre\lib" and XAE added with "d:/Home/site-lisp/xae/java/lib/jar;d:/Home/site-lisp/xae/xsl-engines/saxon/saxon/jar" The CLASSPATH variable is added after installing JRE for JRE to works. But in xae, it results in errors. So I guess maybe I can set it explicitly in GNU Emacs to avoid such "\\" problems. But I can't find any customization options for that. -- Chun-Chieh Huang, aka Albert | E-mail: jjhuang AT cm.nctu.edu.tw 暺靽 | Department of Computer Science | National Tsing Hua University | MIME/ASCII/PDF/PostScript are welcome! HsinChu, Taiwan | NO MS WORD DOC FILE, PLEASE! _______________________________________________ XAE mailing list [email protected] http://sunsite.dk/mailman/listinfo/xae