Public bug reported:

Binary package hint: jde

54jde.el - function debian-jde-register-jdks - reports and registers
wrong version of java. If package sun-java5-bin is installed, then
debian-jde-register-jdks reports "53" as a version, instead of
"1.5.0_15".

As a result of this, jde-mode failed in the middle of processing, on line 901:
"(if (and (not (jde-debugger-running-p)) 
jde-project-context-switching-enabled-p)"

Probable source of problem is the way how debian-jde-register-jdks interpret 
output from "/usr/sbin/update-java-alternatives --list":
"java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun"

- it treats second column (which is "priority" in
/usr/lib/jvm/.java-1.5.0-sun.jinfo) as a java version.

Workaround: comment out (debian-jde-register-jdks) in 54jde.el:95.

Info:
$ lsb_release -rd
Description:    Ubuntu 8.04
Release:        8.04

$ apt-cache policy jde
jde:
  Installed: 2.3.5.1-4ubuntu1

** Affects: jde (Ubuntu)
     Importance: Undecided
         Status: New

-- 
54jde.el registers wrong java version
https://bugs.launchpad.net/bugs/234690
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to