Make Java work. How?
NoOp
glgxg at mfire.com
Fri Sep 8 20:02:53 UTC 2006
Justin Gallardo wrote:
> Herman wrote:
>> I need to install JAVA.
>> Do I?
>> Synaptic tells me that many Java packages are installed.
>>
>> If I have a webpage that needs Java, it wants to install Java.
>> (the plug-in tries to install JRE, Java Runtime Environment)
>>
>> I use Ubunti 6.06, default installation.
>>
>>
>> I tried it out on this website: (and it does not work)
>> Java Morse Code Translator
>> http://morsecode.scphillips.com/jtranslator.html
>>
>> How do I get Java to work for me?
>>
>> Herman in PHL.
>>
> http://ubuntuguide.org/wiki/Dapper#How_to_install_J2SE_Runtime_Environment_.28JRE.29_with_Plug-in_for_Mozilla_Firefox
>
> I think that this will help you out.
> Cheers!
>
I don't think that he is a developer. It appears that all he needs to
install is JRE not JSE. Plus he'll still need to install JRE to get his
application to work. I think that the next set of instructions is more
appropriate:
http://ubuntuguide.org/wiki/Dapper#How_to_install_JRE_v5.0_Update_8
====
How to install JRE v5.0 Update 8
* Read #General Notes
* Download the "Linux (self-extracting file)" from
http://java.com/en/download/manual.jsp
* Copy it to /usr/java/
sudo chmod a+x jre-1_5_0_08-linux-i586.bin
sudo ./jre-1_5_0_08-linux-i586.bin
cd /usr/lib/firefox/plugins
ln -s /usr/java/jre1.5.0_08/plugin/i386/ns7/libjavaplugin_oji.so
cd /usr/lib/mozilla/plugins
ln -s /usr/java/jre1.5.0_08/plugin/i386/ns7/libjavaplugin_oji.so
* Restart Mozilla Firefox
====
However, be aware that the manual download from the link provided
http://java.com/en/download/manual.jsp) does *not* download Update 08,
it downloads jre-1_5_0_06-linux-i586.bin. So change the code to
reference 06 inststead of 08:
Note: if no /usr/java/ directory exists _make one_ and only run the
following from that directory.
sudo chmod a+x jre-1_5_0_06-linux-i586.bin
sudo ./jre-1_5_0_06-linux-i586.bin
cd /usr/lib/firefox/plugins
ln -s /usr/java/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so
cd /usr/lib/mozilla/plugins
ln -s /usr/java/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so
If you really want to download & install JRE 08 then you'll need to us
this link instead:
http://java.sun.com/javase/downloads/index.jsp
- click on the download button for
Java Runtime Environment (JRE) 5.0 Update 8
- this will take you to the Sun download page
- click the "Accept" Licence Agreement button
- select "Linux self-extracting file" jre-1_5_0_08-linux-i586.bin
Then follow the original code for 08.
Note: if you are running Seamonkey instead of, or in addition to,
Firefox, you'll need to modify the instructions above to: 1) show the
proper version number (06,07,08 etc), and 2) change the directory to
point to the Seamonkey plugins directory. My SM plugin is:
/usr/local/seamonkey/plugins
so installing 08 for both Firefox _and_ Seamonkey would be:
* Close Mozilla Firefox and/or Seamonkey
cd /usr/java/
sudo chmod a+x jre-1_5_0_08-linux-i586.bin
sudo ./jre-1_5_0_08-linux-i586.bin
cd /usr/lib/firefox/plugins
ln -s /usr/java/jre1.5.0_08/plugin/i386/ns7/libjavaplugin_oji.so
cd /usr/lib/mozilla/plugins
ln -s /usr/java/jre1.5.0_08/plugin/i386/ns7/libjavaplugin_oji.so
cd /usr/local/seamonkey/plugins
ln -s /usr/java/jre1.5.0_08/plugin/i386/ns7/libjavaplugin_oji.so
* Restart Mozilla Firefox and/or Seamonkey
Check to ensure that the plugin is installed properly:
Seamonkey - click on Help|About Plugins and you should see the newly
installed Java(TM) Plug-in installation references. If you do not, then
you've done something wrong.
Firefox - in the URL toolbar enter "about:plugins" as the URL and then enter
You should see the newly installed Java(TM) Plug-in installation
references. If you do not, then you've done something wrong.
More information about the ubuntu-users
mailing list