Modify

#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 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 Changed 13 months ago by skyper

#7702 seems to be related.

comment:2 Changed 13 months ago by bastiK

  • Owner changed from team to bastiK
  • Status changed from new to assigned

comment:3 Changed 13 months ago by RitterRunkel

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 Changed 13 months ago by skyper

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 Changed 13 months ago by bastiK

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.