Please sync jde (2.3.5.1-5) from Debian unstable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jde (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: jde
54jde.el - function debian-
As a result of this, jde-mode failed in the middle of processing, on line 901:
"(if (and (not (jde-debugger-
Probable source of problem is the way how debian-
"java-1.5.0-sun 53 /usr/lib/
- it treats second column (which is "priority" in /usr/lib/
Workaround: comment out (debian-
Info:
$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
$ apt-cache policy jde
jde:
Installed: 2.3.5.1-4ubuntu1
Changed in jde: | |
assignee: | nobody → mwolson |
status: | Triaged → In Progress |
As quick reference, here the code for 'debian- jde-register- jdks' as of version 2.3.5.1-4ubuntu1:
;; Register all available JDKs on the system jde-register- jdks () java-alternativ es." update- java-alternativ es") with-temp- buffer
(shell- command "/usr/sbin/ update- java-alternativ es --list" t)
(looking- at
"\\([ ^ \n]+\\) \\([^ \n]+\\) \\([^ \n]+\\)$"))
(version (match-string 2))
(jdk- path (match-string 3))) 9]\\{4\ \}\\'" version)
(setq version (concat
(substring version 0 1) "."
(number- to-string
(string- to-number (substring version 1 3)))
"." (substring version 3 4))))
(add-to- list 'jdks (cons version jdk-path)))
(forward- line 1))
(jde- set-jdk- dir-type 'jde-jdk-registry (nreverse jdks)))))) jde-register- jdks))
(defun debian-
"Register all available JDKs automatically given the output of
update-
(when (file-executable-p "/usr/sbin/
(
(goto-char (point-min))
(let (jdks)
(while (and (< (point) (point-max))
(let ((name (match-string 1))
(when (string-match "\\`[0-
(debian-