failed to read link /usr/bin/javaws: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I installed Oracle JDK on my Fedora 23 KDE box. I setup alternatives as follow 
[1].

alternatives --install /usr/bin/javaws javaws /usr/java/default/jre/bin/javaws 
200000

This doesn't always work and result in the error in the subject like. It can 
be fixed by following [2].

rm /var/lib/alternatives/javaws
alternatives --install /usr/bin/javaws javaws /usr/java/default/jre/bin/javaws 
200000

I am curious why does it happen. Why does the link fail?

[1] https://github.com/sudhirkhanger/Fedora
[2] http://johnglotzer.blogspot.in/2012/09/alternatives-install-gets-stuck-failed.html

-- 
Regards,
Sudhir Khanger,
sudhirkhanger.com.

--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel




[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux