I am having trouble getting my jre to work. I have uninstalled and reinstalled it several times but that is not working. I have setup the firefox symlink.
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?
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?
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
# Root
user@host:~$ sudo su
# Change according to your wish, for example this is installation directory
root@host:~# mkdir -p /usr/lib/jvm
# Optional you can copy or directly extract., this is old version change according to your need
root@host:~# cp -i jdk-7u11-linux-i586.tar.gz /usr/lib/jvm/
root@host:~# cp -i jre-7u11-linux-i586.tar.gz /usr/lib/jvm/
# change directory
root@host:~# cd /usr/lib/jvm/
# Extract jdk and Jre
root@host:/usr/lib/jvm# tar -xvf jdk-7u11-linux-i586.tar.gz
root@host:/usr/lib/jvm# tar -xvf jre-7u11-linux-i586.tar.gz
# If not needed delete
root@host:/usr/lib/jvm$ rm -rf *.gz
# confirm that these two are extracted
root@host:/usr/lib/jvm# ls -1jdk1.7.0_11jre1.7.0_11
# Configure according to foldername highlighted in blue color
root@host:/usr/lib/jvm#sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0_11/bin/javac" 1
root@host:/usr/lib/jvm# sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.7.0_11/bin/java" 1
root@host:/usr/lib/jvm# sudo update-alternatives --set "javac" "/usr/lib/jvm/jdk1.7.0_11/bin/javac"
root@host:/usr/lib/jvm# sudo update-alternatives --set "java" "/usr/lib/jvm/jre1.7.0_11/bin/java"
# On successful installation you should be able to see followingroot@host:/usr/lib/jvm# java -version
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) Server VM (build 23.6-b04, mixed mode)
root@host:/usr/lib/jvm# javac -version
javac 1.7.0_11
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)
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)
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)
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)
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)
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)
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)
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)