Am 28.07.2013 04:01, schrieb Dave Johansen: > On Sat, Jul 27, 2013 at 2:01 PM, Alchemist <raimiiic@xxxxxxxxx <mailto:raimiiic@xxxxxxxxx>> wrote: > > 2013/7/27 Dave Johansen <davejohansen@xxxxxxxxx <mailto:davejohansen@xxxxxxxxx>> > > I have a system that I upgraded from Fedora 18 to 19 recently and I > just installed eclipse, but it says that there's no JVM when I try and > run it. I noticed that /usr/bin/java is a symbolic link to > /etc/alternatives/java which is then a symbolic link to > /usr/lib/jvm/jre-1.7.0-openjdk/bin/java but it's actually installed at > /usr/lib/jvm/jre-1.7.0-openjdk.i386/bin/java. > > Is this an issue from the update from Fedora 18 to 19? Or is it an > issue with the packages in Fedora 19? > > Seems this started with java-1.7.0-openjdk-1.7.0.25-* > run alternatives --config java > then choose your openjdk version path > > That fixed the issue. Is this something that needs to be fixed/reported? Or did I just get unlucky? -------- Original-Nachricht -------- Betreff: Re: F18 ti F19: can't create a Java virtual machine Datum: Thu, 18 Jul 2013 13:25:15 +0200 Von: Reindl Harald <h.reindl@xxxxxxxxxxxxx> An: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> Kopie (CC): antonio <antonio.montagnani@xxxxxxxxx> Am 18.07.2013 13:13, schrieb antonio: > Andrew Haley ha scritto / said the following il giorno/on 18/07/2013 10:51: >> On 07/12/2013 05:44 AM, antonio montagnani wrote: >>> We made un update to a laptop, fedup worked very well but now user when >>> starts arduino gets a message (we can see it in a terminal) that can't >>> create a Java virtual machine. Same Arduino worked fine in F18 >> >> Is Java even installed? Does it work? >> >> Andrew. >> > as it was un update, Java was installed, it seems to be a problem of packaging in F19 -------- Original-Nachricht -------- Betreff: OpenJDK packaging bug in Fedora 19 Datum: Thu, 11 Jul 2013 00:02:03 -0300 Von: fernando@xxxxxxxxxxxxx Antwort an: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> An: users@xxxxxxxxxxxxxxxxxxxxxxx Hi there, This is a minor bug, but a big annoyance for anyone who uses java on Fedora. Latter I try to register on Fedora Project bug track. I saw the same issue on two diferent systems: one upgraded from F17 to F19 via fedup, another installed clean from live media. Both had yum -y update after installation. Both were 32-bit machines, I did not test on x86_64. "java" is not on the classpath after install, altough java-1.7.0-openjdk comes installed by default. See [ I hope eveyone can understand this termina session even if it's in portuguese: [root@lgx200 ~]# java -version bash: java: Comando não encontrado... [root@lgx200 ~]# yum -y install java-1.7.0-openjdk icedtea-web Plugins carregados: langpacks, refresh-packagekit updates/19/i386/metalink | 1.8 kB 00:00:00 O pacote 1:java-1.7.0-openjdk-1.7.0.25-2.3.10.4.fc19.i686 já está instalado em sua última versão O pacote icedtea-web-1.4-2.fc19.i686 já está instalado em sua última versão Nada a ser feito So I checked alternaives: root@lgx200 ~]# alternatives --config java Há 3 programas que oferecem "java". Seleção Comando ----------------------------------------------- *+ 1 /usr/lib/jvm/jre-1.7.0-openjdk/bin/java 2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java 3 /usr/lib/jvm/jre-1.7.0-openjdk.i386/bin/java Indique para manter a seleção atual[+] ou digite o número da seleção: There was a default java configured, but there's nothing on the path specified by [1]: [lozano@lgx200 ~]$ ls /usr/lib/jvm/ java-1.5.0-gcj-1.5.0.0/ jre-1.5.0/ java-1.7.0-openjdk-1.7.0.25.i386/ jre-1.5.0-gcj/ java-1.7.0-openjdk.i386/ jre-1.7.0-openjdk.i386/ jre/ jre-gcj/ I fixed this issue by running alternatives --config again, then choosing [3]. Now "java" works on the shell. I guess there should be no "/usr/lib/jvm/jre-1.7.0-openjdk/bin/java" in alternatives, or this path should be a symlink to /usr/lib/jvm/jre-1.7.0-openjdk.i386/bin/java, in which case there shouldn't be this latest option in alternatives. Maybe the intent was to have 32-bit and 64-bit OpenJDK on the same machine, and allow the user to choose each one as the default java.
Attachment:
signature.asc
Description: OpenPGP digital signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org