Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Since josm-5939, two new versions of JOSM are available (5990 and 6060), can you please build an update fedora repos ? The last one : - 2013-07-09 (6060) - http://josm.openstreetmap.de/changeset/6060/josm I can test for fedora 19. Thanks
josm-0-0.45.6060svn.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/josm-0-0.45.6060svn.fc18
josm-0-0.45.6060svn.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/josm-0-0.45.6060svn.fc19
Package josm-0-0.45.6060svn.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing josm-0-0.45.6060svn.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-13547/josm-0-0.45.6060svn.fc18 then log in and leave karma (feedback).
It doesn't work with fc19 : Can't find java virtual machine, aborting. [jb@localhost ~]$ whereis java java: /usr/bin/java /usr/lib/java /etc/java /usr/share/java /usr/share/man/man1/java.1.gz [jb@localhost ~]$ alternatives --config java Il existe 2 programmes qui fournissent « java ». Sélection Commande ----------------------------------------------- *+ 1 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java 2 /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25-2.3.10.10.fc19.x86_64/jre/bin/java [jb@localhost ~]$ ls -Rlah /usr/share/java-utils/ /usr/share/java-utils/: total 80K drwxr-xr-x. 1 root root 234 12 juil. 21:20 . drwxr-xr-x. 1 root root 5,2K 12 juil. 21:20 .. -rw-r--r--. 1 root root 1,6K 11 juil. 14:57 abs2rel.lua -rwxr-xr-x. 1 root root 129 11 juil. 14:57 abs2rel.sh -rw-r--r--. 1 root root 9,4K 11 juil. 15:00 java-functions -rw-r--r--. 1 root root 9,4K 11 juil. 15:00 java-functions.orig -rw-r--r--. 1 root root 12K 5 juin 16:00 maven_depmap.py -rw-r--r--. 2 root root 8,5K 10 juil. 19:24 maven_depmap.pyc -rw-r--r--. 2 root root 8,5K 10 juil. 19:24 maven_depmap.pyo -rw-r--r--. 1 root root 8,7K 5 juin 16:00 pom_editor.sh drwxr-xr-x. 1 root root 42 12 juil. 21:20 xml /usr/share/java-utils/xml: total 16K drwxr-xr-x. 1 root root 42 12 juil. 21:20 . drwxr-xr-x. 1 root root 234 12 juil. 21:20 .. -rw-r--r--. 1 root root 13K 19 sept. 2006 maven2jpp-mapdeps.xsl
It run fine here. Can you try to run : bash -x /usr/bin/josm and paste the result, so we know where the detection fail ?
The result of bash -x /usr/bin/josm [jb@localhost ~]$ bash -x /usr/bin/josm + _prefer_jre=1 + '[' -f /usr/share/java-utils/java-functions ']' + . /usr/share/java-utils/java-functions ++ _JAVA_HOME= ++ '[' -f /etc/java/java.conf ']' ++ . /etc/java/java.conf +++ JAVA_LIBDIR=/usr/share/java +++ JNI_LIBDIR=/usr/lib/java +++ JVM_ROOT=/usr/lib/jvm +++ JAVACMD_OPTS= ++ '[' -f /home/jb/.java/java.conf ']' ++ '[' '!' -z '' -a -d '' ']' + MAIN_CLASS=JOSM + BASE_JARS='josm metadata-extractor ant signpost-core commons-codec svgsalamander gnu-getopt' + set_classpath josm metadata-extractor ant signpost-core commons-codec svgsalamander gnu-getopt + _set_java_home + '[' -z '' ']' + local _java_dirs=java + case "$_prefer_jre" in + _java_dirs='jre java' + for d in '$_java_dirs' + '[' -d /usr/lib/jvm/jre ']' + for d in '$_java_dirs' + '[' -d /usr/lib/jvm/java ']' + jars='josm metadata-extractor ant signpost-core commons-codec svgsalamander gnu-getopt' + '[' -n '' ']' ++ /usr/bin/build-classpath josm metadata-extractor ant signpost-core commons-codec svgsalamander gnu-getopt + LOCAL_CLASSPATH='Can'\''t find java virtual machine, aborting.' + CLASSPATH='Can'\''t find java virtual machine, aborting.:' + run + set_javacmd + '[' -x '' ']' + set_jvm + _set_java_home + '[' -z '' ']' + local _java_dirs=java + case "$_prefer_jre" in + _java_dirs='jre java' + for d in '$_java_dirs' + '[' -d /usr/lib/jvm/jre ']' + for d in '$_java_dirs' + '[' -d /usr/lib/jvm/java ']' + '[' -n '' ']' + case "$_prefer_jre" in + java= + '[' -z '' ']' ++ which java ++ : + java= + '[' -n '' ']' + echo 'Can'\''t find java virtual machine, aborting.' Can't find java virtual machine, aborting. + exit 1
Do you have this link : $ ls -ld /usr/lib/jvm/jre lrwxrwxrwx. 1 root root 21 5 juil. 11:16 /usr/lib/jvm/jre -> /etc/alternatives/jre ( if not, that's likely linked to https://bugzilla.redhat.com/show_bug.cgi?id=979128 )
[jb@localhost ~]$ ls -ld /usr/lib/jvm/jre lrwxrwxrwx. 1 root root 21 27 juil. 12:23 /usr/lib/jvm/jre -> /etc/alternatives/jre Text is in red, so I assume it is broken :( Thanks for the information about that new bug.
Work fine, I indeed had the bug #979128 that I solved with : alternatives --config java alternatives --config javac Thanks
josm-0-0.45.6060svn.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
josm-0-0.45.6060svn.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.