On 11/29/17 19:21, Clemens Eisserer wrote: > Currently I don't seem to be able to get OpenJDK working again on my > F27 system (updated from F26). > > dnf reinstall *openjdk* > Reinstalliert: > java-1.8.0-openjdk.x86_64 1:1.8.0.151-1.b12.fc27 > java-1.8.0-openjdk-demo.x86_64 1:1.8.0.151-1.b12.fc27 > java-1.8.0-openjdk-devel.x86_64 1:1.8.0.151-1.b12.fc27 > java-1.8.0-openjdk-headless.x86_64 1:1.8.0.151-1.b12.fc27 > java-1.8.0-openjdk-openjfx.x86_64 1:1.8.0.151-1.b12.fc27 > java-1.8.0-openjdk-openjfx-devel.x86_64 1:1.8.0.151-1.b12.fc27 > > [root@localhost ce]# alternatives --config java > [root@localhost ce]# > > [ce@localhost ~]$ java > bash: java: Command not found > > Any ideas what is going on here? Why did you run the "alternatives" command? Everything is normally set just fine on install of the packages. I have a VM on which I just installed some java packages and all is fine. [egreshko@f27k ~]$ rpm -qa | grep ^java java-1.8.0-openjdk-devel-1.8.0.151-1.b12.fc27.x86_64 java-1.8.0-openjdk-headless-1.8.0.151-1.b12.fc27.x86_64 java-1.8.0-openjdk-1.8.0.151-1.b12.fc27.x86_64 javapackages-tools-5.0.0-7.fc27.noarch [egreshko@f27k ~]$ which java /usr/bin/java [egreshko@f27k ~]$ ll /usr/bin/java lrwxrwxrwx. 1 root root 22 Nov 27 18:34 /usr/bin/java -> /etc/alternatives/java [egreshko@f27k ~]$ ll /etc/alternatives/java lrwxrwxrwx. 1 root root 72 Nov 27 18:34 /etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.fc27.x86_64/jre/bin/java -- Fedora Users List - The place to go to speculate endlessly
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx