ImageJ chooses wrong java home
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
imagej (Debian) |
Fix Released
|
Unknown
|
|||
imagej (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
ImageJ fails to run on an amd64 system if ia32-sun-java6-bin is installed. It fails with the error message
> Running a 64-bit JVM is not supported on this platform.
This seems to be due to the script /usr/bin/imagej setting JAVA_HOME by
JAVA_
i.e. the top line returned from 'update-
I guess update-
JAVA_
Also, I guess the script strictly should make sure it's a 64 bit jvm instead of just using 'uname -m'
Related branches
Changed in imagej: | |
status: | Unknown → New |
Changed in imagej (Debian): | |
status: | New → Fix Released |
Tried to make a patch including my fix. I have no experience writing patches though, so I probably did something wrong. Also I am not sure, my fix is the best one.