Bug 1057706 - Jnlp program stopped working after an upgrade.
Summary: Jnlp program stopped working after an upgrade.
Keywords:
Status: CLOSED DUPLICATE of bug 1056187
Alias: None
Product: Fedora
Classification: Fedora
Component: icedtea-web
Version: 20
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-24 16:09 UTC by Aniruddha
Modified: 2014-02-12 07:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-12 07:48:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Aniruddha 2014-01-24 16:09:20 UTC
Description of problem:
jnlp program stopped working after an upgrade.

How reproducible:
Start the jnlp file from the commandline

Actual results:
/usr/bin/javaws: line 89: /usr/lib/jvm/jre-openjdk/bin/java: No such file or directory

Expected results:
Programs starts

Additional info:
# alternatives --config java

There is 1 program that provides 'java'.

  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.4.0.fc20.x86_64/jre/bin/java

Comment 1 jiri vanek 2014-01-27 13:50:34 UTC
Hi!

Ugh, may you veryfi manually thatthis directory donot exists? 

[jvanek@jvanek ~]$ ll /usr/lib/jvm/jre-openjdk/bin/java 
-rwxr-xr-x. 1 root root 331 Jan 17 15:04 /usr/lib/jvm/jre-openjdk/bin/java


or simialr? This is standart jpackage provided direcotry and its absence will be critical.

Can you try to reinstall openjdk or update to recently release 2.4.4.1?

Comment 2 Aniruddha 2014-01-27 19:01:57 UTC
This directory doesn't exists. I already tried the following to no avail:

mkdir /usr/lib/jvm/jre-openjdk/bin
ln -s /usr/bin/java java

yum reinstall icedtea-web
yum install java-1.8.0-openjdk
yum remove java-1.7.0-openjdk
yum install java-1.7.0-openjdk

And editing the path in/usr/bin/javaws.
 
ls /usr/lib/jvm/jre-openjdk/bin/java 
ls: cannot access /usr/lib/jvm/jre-openjdk/bin/java: No such file or directory

Comment 3 jiri vanek 2014-01-28 12:47:43 UTC
I'm wondering about:
yum install java-1.8.0-openjdk

How is this workflow behave if you miss it? I have made many somehow corrupted installations and was not able to reproduce your issue.

Comment 4 Aniruddha 2014-01-28 17:38:48 UTC
I tried the commands below without result. I got the selinux error during the previous upgrade. Maybe these are related?

yum remove  java-1.7.0-openjdk icedtea-web   java-1.8.0-openjdk
yum install  java-1.7.0-openjdk icedtea-web

Comment 5 jiri vanek 2014-01-28 17:55:50 UTC
Then it may be related to 
https://bugzilla.redhat.com/show_bug.cgi?id=1056187

Comment 6 Aniruddha 2014-01-28 19:10:24 UTC
Thanks! The following commands did the trick:

> yum reinstall java-1.7.0-openjdk-headless follow by 
> alternatives --config java (and choosing the new one as default)
> alternatives --remove java
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.4.0.fc20.x86_64/jre/bin/java
> is solving the issue

Comment 7 jiri vanek 2014-02-12 07:48:57 UTC

*** This bug has been marked as a duplicate of bug 1056187 ***


Note You need to log in before you can comment on or make changes to this bug.