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 Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org