首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在雪豹的Carbon Emacs中安装jdee时出现问题

在雪豹的Carbon Emacs中安装jdee时出现问题
EN

Stack Overflow用户
提问于 2009-12-05 19:36:36
回答 1查看 397关注 0票数 0

我最近决定尝试使用emacs进行java开发,所以这是我第一次使用emacs。我在emacs启动时没有收到任何错误,但我不认为jde安装正确,因为我在查看java文件时看不到"jde“菜单项。对如何进一步排除故障有什么建议吗?

我下载了cedet、jde和elib并将其解压到以下dir结构中:

代码语言:javascript
复制
~/.emacs.d/site/cedet/latest
~/.emacs.d/site/jde/latest
~/.emacs.d/stie/elib/latest

在每种情况下,'latest‘都是指向版本化目录的符号链接,例如:

代码语言:javascript
复制
cd ~/.emacs.d/site/cedet
ls -al
drwxr-xr-x@ 17 dparoulek  staff  578 Dec  4 12:17 cedet-1.0pre6
lrwxr-xr-x   1 dparoulek  staff   14 Dec  4 21:41 latest -> cedet-1.0pre6/

这是我的.emacs文件:

代码语言:javascript
复制
; JDE - Java Development Environment

;; Set the debug option to enable a backtrace when a
;; problem occurs.
(setq debug-on-error t)

;; Update the Emacs load-path to include the path to
;; the JDE and its require packages. This code assumes
;; that you have installed the packages in the emacs/site
;; subdirectory of your home directory.
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site/jde/latest/lisp"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site/cedet/latest/common"))
(load-file (expand-file-name "~/.emacs.d/site/cedet/latest/common/cedet.el"))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/site/elib/latest"))

(require 'jde)
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2009-12-05 20:59:28

我发现emacs会将启动日志消息写入消息缓冲区。一旦我发现了这一点,我意识到当它试图加载我的.emacs文件中定义的一些东西时,会出现一些问题。

我能够让cedet和ecb成功地工作,但在尝试加载jde时仍然得到lisp错误。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1851973

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档