[fedora-java] failed to read link /usr/bin/javaws: No such file or directory

gil puntogil at libero.it
Sat Jan 2 16:10:53 UTC 2016



Il 02/01/2016 16:10, Sudhir Khanger ha scritto:
> Hi,
Hi,
> I installed Oracle JDK on my Fedora 23 KDE box. I setup alternatives as follow
> [1].
why?
> alternatives --install /usr/bin/javaws javaws /usr/java/default/jre/bin/javaws
> 200000

icedtea-web provides /usr/bin/javaws.itweb which become 
/etc/alternatives/javaws /usr/bin/javaws

> 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
>
we do not use prebuilt libraries [1], suggestion are available here 
https://fedoraproject.org/wiki/Java/FAQ?rd=JavaFAQ#Can_I_run_Oracle_Java_on_Fedora.3F 
(follow the links)
regards
.g

[1] 
https://fedoraproject.org/wiki/Packaging:Guidelines#No_inclusion_of_pre-built_binaries_or_libraries

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/java-devel/attachments/20160102/69775278/attachment.html>


More information about the java-devel mailing list