excuse moi, il était un peu tard, j'ai pas été très précis
donc j'ai renseigné par la commande (dans emacs) M-x customize-variable puis jde-jdk-registry :
suite à ton conseil (je pensait pas que le chemin du jdk, c'était juste sa...), et après avoir fait un locate pour vérifier qu'il était présent, mais sa ne fonctionne toujours pas
effectivement emacs reconnaissait bien la java avant (et faisait la coloration syntaxique qui vas bien avec..)
donc voici la partie de mon fichier ~/.emacs correspondant au jdee (la partie qui 'problématique') :
Code : Tout sélectionner
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;; java jdee completion ;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; dependance de jdee (Java Development Environment for Emacs)
(setq load-path (append (list "/usr/share/emacs/site-lisp/elib")
load-path))
;; This .emacs file illustrates the minimal setup
;; required to run the JDE.
;; 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 "/usr/share/emacs/site-lisp/jde/lisp"))
(add-to-list 'load-path (expand-file-name "/usr/share/emacs/site-lisp/cedet/common"))
(add-to-list 'load-path (expand-file-name "/usr/share/emacs/site-lisp/elib"))
;; Initialize CEDET.
(load-file (expand-file-name "/usr/share/emacs/site-lisp/cedet/common/cedet.el"))
;; If you want Emacs to defer loading the JDE until you open a
;; Java file, edit the following line
(setq defer-loading-jde nil)
;; to read:
;;
;;(setq defer-loading-jde t)
;;
(if defer-loading-jde
(progn
(autoload 'jde-mode "jde" "JDE mode." t)
(setq auto-mode-alist
(append
'(("\\.java\\'" . jde-mode))
auto-mode-alist)))
(require 'jde))
;;;;;;;;;;;;;;;;fin jdee ;;;;;;;;;;;;;;;;;;
et voici mon ~/.emacs-custom.el dans lequel je sont stocké les variable que je modifie par le bais d'emacs :
Code : Tout sélectionner
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(inhibit-startup-screen t)
'(initial-scratch-message nil)
'(jde-global-classpath (split-string classpath jde-classpath-separator))
'(jde-jdk-registry (quote (("1.6.0" . "/etc/profile.d/jdk.sh")))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:inherit nil :stipple nil :background "black" :foreground "white" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 117 :width normal :foundry "urw" :family "Nimbus Mono L")))))
voilà merci de ton intérêt