Question:
I Can't figure out why Java won't work on Linux Ubuntu.?
Collin
2013-03-17 00:19:58 UTC
ok, may be a little complicated...

I installed java jdk like it told me to on the website (it is legitimate sun software)

1. I got the x86 package jdk-7u17-nb-7_3-linux-i586.sh
2. in the terminal i moved it to usr/local/java
3. I ran it with root
4. I moved the libjavaplugin_oji.so file to the mozilla plugins folder
5. I created a PATH file for it, giving the bin location correctly.

Problem:
Firefox doesn't aknowledge the existance of java
when I search in the Dash Home Java JDK doesn't come up.

Basically: I don't know why it didn't run.

I am on 32 bit, Ubuntu 12,10
Three answers:
2013-03-18 15:54:27 UTC
You're making this a little complex...

Open terminal and follow these instructions:

http://www.ubuntugeek.com/how-to-install-oracle-java-7-in-ubuntu-12-04.html



*Note this will in fact work on 12.10
Bad Girl Conservative
2013-03-17 00:25:52 UTC
Did you move it to "usr/local/java" or "/usr/local/java"?



Also, check here:



http://www.java.com/en/download/help/linux_install.xml



~~*~~



Firefox or Mozilla

To configure the Java Plugin follow these steps:



Exit Firefox browser if it is already running.

Uninstall any previous installations of Java Plugin.

Only one Java Plugin can be used at a time. When you want to use a different plugin, or version of a plugin, remove the symbolic links to any other versions and create a fresh symbolic link to the new one.

Create a symbolic link to the libnpjp2.so file in the browser plugins directory

Go to the plugins sub-directory under the Firefox installation directory

cd /plugins

Create the symbolic link

ln -s /lib/i386/libnpjp2.so



Note: If you are upgrading your Java version then before creating new symbolic link you should remove old symbolic link to enable latest downloaded Java.



To remove old symbolic link:

type cd /plugins

rm libjavaplugin_oji.so
?
2016-12-01 11:39:15 UTC
Use this device supervisor Synaptic to place in Java. as quickly as you open it, it is going to ask for a password, it is going to be your customer password. as at as quickly as as open variety in seek for field Java and it will improve a itemizing of Java. click on it and have it set up it. each and every and all of the appliance it fairly is on the marketplace for what ever version Linux you make the main of is put in from Synaptic or a application supervisor. To get carry of it and attempt to place in it demands awareness of the Console classes and the suitable syntax you variety on the teach. it rather is greater effective stable to purpose this variety.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Continue reading on narkive:
Loading...