Opened 14 years ago
Closed 14 years ago
#7730 closed defect (fixed)
josm-latest from Ubuntu repository doesn't work on i386 Precise (12.04)
| Reported by: | tordanik | Owned by: | bastiK |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | unspecified | Version: | latest |
| Keywords: | Cc: |
Description
I have been unable to run josm-latest from the Ubuntu repository on my 32 bit system since my upgrade to Ubuntu 12.04 "Precise Pangolin". The command line output is as follows:
$ josm-latest No valid JVM found to run JOSM.
My 64 bit Precise system is not affected. The /usr/bin/josm-latest script reveals that the script looks for java binaries in /usr/lib/jvm/java-6-openjdk. On my system, this folder is empty. However, there are folders /usr/lib/jvm/java-6-openjdk-i386 and /usr/lib/jvm/java-7-openjdk-i386 and adding either of these to the list of paths in the script makes it work.
Attachments (0)
Change History (5)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 14 years ago
In my case I had to edit from java-6-openjdk to java-6-openjdk-amd64 in /usr/bin/josm to make josm running with my JVM ...
comment:4 by , 14 years ago
Have a look at the debian start script for a solution to solve this:
... ARCH="`dpkg --print-architecture`" ... JAVA_CMDS="$JAVA_HOME/bin/java /usr/lib/jvm/java-7-openjdk-$ARCH/bin/java /usr/lib/jvm/java-6-openjdk/bin/java /usr/lib/jvm/java-6-openjdk-$ARCH/bin/java /usr/lib/jvm/java-6-sun/bin/java " ...
(GPL-3+)
comment:5 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |



#7702 seems to be related.