Sponsored Content
Full Discussion: Jre not working in Fedora
Top Forums UNIX for Advanced & Expert Users Jre not working in Fedora Post 302877169 by cokedude on Thursday 28th of November 2013 06:09:18 PM
Old 11-28-2013
Quote:
Originally Posted by fpmurphy
For starters your symbolic link command syntax is invalid.

You need to give us more information if this forum is going to be able to help you. Are you trying to install OpenJDK or Oracle java? What version of Fedora? 32bit or 64bit? Did you try use the alternatives command?
Can you explain what is going on here please?

Code:
[bob@hi ~]$ cd /usr/lib/mozilla/plugins
[bob@hi plugins]$ ls -l
total 240
lrwxrwxrwx  1 root root     39 Sep 28 23:43 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
lrwxrwxrwx  1 root root     34 Nov 28 02:50 libjavaplugin.so -> /etc/alternatives/libjavaplugin.so
lrwxrwxrwx  1 root root     52 Oct 29 20:57 libnpgoogletalk.so -> ../../../../opt/google/talkplugin/libnpgoogletalk.so
lrwxrwxrwx  1 root root     58 Oct 29 20:57 libnpgtpo3dautoplugin.so -> ../../../../opt/google/talkplugin/libnpgtpo3dautoplugin.so
lrwxrwxrwx  1 root root     45 Oct 29 20:57 libnpo1d.so -> ../../../../opt/google/talkplugin/libnpo1d.so
-rwxr-xr-x  1 root root 176032 Sep  9 13:59 nppdf.so
-rwxr-xr-x. 1 root root  66736 Jul  1  2011 skypebuttons.so
[bob@hi plugins]$ sudo ln -s /usr/java/jre1.7.0_45/lib/i386/libnpjp2.so 
[sudo] password for bob: 
[bob@hi plugins]$ ls -l
total 240
lrwxrwxrwx  1 root root     39 Sep 28 23:43 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
lrwxrwxrwx  1 root root     34 Nov 28 02:50 libjavaplugin.so -> /etc/alternatives/libjavaplugin.so
lrwxrwxrwx  1 root root     52 Oct 29 20:57 libnpgoogletalk.so -> ../../../../opt/google/talkplugin/libnpgoogletalk.so
lrwxrwxrwx  1 root root     58 Oct 29 20:57 libnpgtpo3dautoplugin.so -> ../../../../opt/google/talkplugin/libnpgtpo3dautoplugin.so
lrwxrwxrwx  1 root root     42 Nov 28 14:16 libnpjp2.so -> /usr/java/jre1.7.0_45/lib/i386/libnpjp2.so
lrwxrwxrwx  1 root root     45 Oct 29 20:57 libnpo1d.so -> ../../../../opt/google/talkplugin/libnpo1d.so
-rwxr-xr-x  1 root root 176032 Sep  9 13:59 nppdf.so
-rwxr-xr-x. 1 root root  66736 Jul  1  2011 skypebuttons.so

The oracle java. This is the version I installed.
jre-1.7.0_45-fcs.i586
Fedora 15
32 bit

Is this what you are talking about?

Code:
sudo /usr/sbin/alternatives --install /usr/bin/java java /usr/java/default/bin/java 200000
sudo /usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so \ libjavaplugin.so /usr/java/default/lib/i386/libnpjp2.so 200000

Someone on another forum mentioned this. I am not seeing what I would expect.
Code:
[bob@hi plugins]$ alternatives --config libjavaplugin.so 

There are 2 programs which provide 'libjavaplugin.so'.

  Selection    Command
-----------------------------------------------
   1           /usr/lib/jvm/jre-1.6.0-openjdk/lib/i386/IcedTeaPlugin.so
*+ 2           /usr/java/default/lib/i386/libnpjp2.so

Enter to keep the current selection[+], or type selection number: 
failed to create /var/lib/alternatives/libjavaplugin.so.new: Permission denied
[bob@hi plugins]$ rpm -qa | grep -i jre
jre-1.7.0_45-fcs.i586

I doesn't mention anything similar to this jre-1.7.0_45-fcs.i586.

I forgot to mention I have tried to get the oracle JRE to work in Firefox, Seamonkey, and Chrome. Are there any other browsers that it would be a good idea to try oracle JRE in?

---------- Post updated at 06:09 PM ---------- Previous update was at 02:25 PM ----------

Here are the full logs of what is going on.

Code:
java.lang.NullPointerException
    at sun.plugin2.applet.JNLP2Manager.getAppInfo(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@14c8743
network: Created version ID: 1.7.0.45
network: Created version ID: 1.7
network: Created version ID: 2.2.45
network: Cache entry not found [url: http://www.java.com/en/download/JavaDetection_applet.jnlp, version: null]
network: Cache entry not found [url: http://www.java.com/en/download/JavaDetection_applet.jnlp, version: null]
network: Cache entry not found [url: http://www.java.com/en/download/JavaDetection_applet.jnlp, version: null]
network: Connecting http://www.java.com/en/download/JavaDetection_applet.jnlp with proxy=DIRECT
network: Connecting http://www.java.com:80/ with proxy=DIRECT
java.net.UnknownHostException: www.java.com
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.model.ResourceProvider.getResource(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
    at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)
    at sun.plugin2.main.client.PluginMain.access$200(Unknown Source)
    at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
network: Connecting http://www.java.com/en/download/JavaDetection_applet.jnlp with proxy=DIRECT
network: Connecting http://www.java.com:80/ with proxy=DIRECT
java.net.UnknownHostException: www.java.com
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.model.ResourceProvider.getResource(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
    at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)
    at sun.plugin2.main.client.PluginMain.access$200(Unknown Source)
    at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://www.java.com/en/download/JavaDetection_applet.jnlp
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.model.ResourceProvider.getResource(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
    at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)
    at sun.plugin2.main.client.PluginMain.access$200(Unknown Source)
    at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by:
java.net.UnknownHostException: www.java.com
    at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.model.ResourceProvider.getResource(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
    at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)
    at sun.plugin2.main.client.PluginMain.access$200(Unknown Source)
    at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
network: Cache entry not found [url: http://www.java.com/en/download/JavaDetection_applet.jnlp, version: null]
network: Connecting http://www.java.com/en/download/JavaDetection_applet.jnlp with proxy=DIRECT
network: Connecting http://www.java.com:80/ with proxy=DIRECT
basic: JNLP2Manager.initialize(): JNLP not available: JavaDetection_applet.jnlp
basic: exception: null.
java.lang.NullPointerException
    at sun.plugin2.applet.JNLP2Manager.getAppInfo(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Ignored exception: java.lang.NullPointerException
basic: Dialog type is not candidate for embedding

 

9 More Discussions You Might Find Interesting

1. Ubuntu

Fedora and Ubuntu not working out with GRUB

I have tried befre but nothing works out proprly. I have Ubuntu I try to Install Fedora Core 1. When Fedora Cora is finished Installing It doesnt show Ubuntu on Grub. If I re-install Ubuntu and put grub on then Fedora wont show. I also have Windows 98 but that is always on the list as DOS or... (5 Replies)
Discussion started by: shade11
5 Replies

2. UNIX for Dummies Questions & Answers

JRE in Fedora 7

Hi, I am trying to install the Java Runtime Environment in Fedora 7. However, according to articles such as this: How to Install Java in Fedora Core 6 - Java Runtime Environment - Softpedia I should have a plugin directory in the jre directory. I don't have that after running the... (1 Reply)
Discussion started by: user23
1 Replies

3. Programming

JRE in Fedora 7

Perhaps this is the right forum for this question? Hi, I am trying to install the Java Runtime Environment in Fedora 7. However, according to articles such as this: How to Install Java in Fedora Core 6 - Java Runtime Environment - Softpedia I should have a plugin directory in the jre... (3 Replies)
Discussion started by: user23
3 Replies

4. Linux

gvfs-mount not working from command line (Fedora 11 x86-64)

When I access a samba share from command line using gvfs-mount, I can not see anything in ~/.gvfs/ directory. See below: ajitabhp:$ gvfs-mount smb://iomega-dstore/music/ ajitabhp:$ echo $? 0 ajitabhp:$ ls -l ~/.gvfs/ total 0 ajitabhp:$ ps -ef|grep gvfsd-smb ajitabhp 10896 1 0 11:28 ? ... (2 Replies)
Discussion started by: ajitabhpandey
2 Replies

5. IP Networking

Wireless stopped working- Fedora 12

I installed F12 around the time it was released and it picked up my wireless card and worked like a charm.....Suddenly last week everything stopped working and I receive what appears to be a driver error when wlan0 tries to load. Error for wireless request "Set Mode" (8B06) : SET failed on... (1 Reply)
Discussion started by: woodson2
1 Replies

6. UNIX for Dummies Questions & Answers

Need to find the OS JRE as well as User installed JRE on my UNIX box!

Hi, I want to determine whether my java application is pointing to the OS version of Java or the User installed Java version on my Unix box. I am aware of the "java -version" command, however I am unsure if the version returned is the OS one or the user one. Please help. Ali. (5 Replies)
Discussion started by: ali40
5 Replies

7. Linux

fedora 11 updates not working

I am running fedora 11 as a virtual machine on vmware. when i open software updates they do not start.neither can new software be installed.but i am getting lan connection as firefox is working.have changed system proxy too. the directory /etc/yum.repos.d/ is not empty.this is output of ls... (2 Replies)
Discussion started by: linuxstudent
2 Replies

8. Red Hat

Wine is not working in fedora 15

Hi Frnds I dont know where to post thread for fedora so here i am posting I have fedora 15 with kernel-2.6.41.4-1.fc15.x86_64.It was previously kernel-2.6.40.6-0.fc15.x86_64 which i updated today through Yum.After than i restarted with new kernel and installed wine-1.3.35-1.fc15.x86_64... (4 Replies)
Discussion started by: Vaibhav.T
4 Replies

9. Fedora

Yum repository not working in Fedora 16

Hi, while installing/updating package using yum I am getting (repomd.xml) error # yum list Loaded plugins: langpacks, presto, refresh-packagekit http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml: HTTP Error 404 -... (12 Replies)
Discussion started by: muzaffar.k
12 Replies
All times are GMT -4. The time now is 04:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy