LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-11-2007, 05:11 PM   #1
jim_naisium
Member
 
Registered: Jul 2006
Posts: 74

Rep: Reputation: 15
Installing Java runtime environment...


Hi,

Where can I get a version of the Java Runtime Environment that will work with Slackware 10.2/11.0 ?

I tried the the version from java.com but it keeps giving in invalid command error due to something it is trying to do with BASH.

I looked on Linuxpackages.net but its search came up with 0 when searching for JAVA.
 
Old 05-11-2007, 05:16 PM   #2
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
Slackware already comes with a jre package in l/, or the full JDK in extra/
 
Old 05-11-2007, 05:30 PM   #3
jim_naisium
Member
 
Registered: Jul 2006
Posts: 74

Original Poster
Rep: Reputation: 15
Firefox wants a JAVA plugin but cannot find anything to install when you click on the puzzle piece icon, is there something I need to run or install to make JAVA work with Firefox?

When I installed Slackware I told it to install EVERYTHING, so I'm assuming that it did.
 
Old 05-11-2007, 05:42 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
If you want to link jre to FF, I would symlink from '/usr/lib/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so' to '~/.mozilla/plugins' or straight to the plugins folder wherever FF is installed say '/usr/lib/firefox/plugins'.
 
Old 05-14-2007, 08:57 PM   #5
jim_naisium
Member
 
Registered: Jul 2006
Posts: 74

Original Poster
Rep: Reputation: 15
How would I go about doing that?
 
Old 05-14-2007, 09:01 PM   #6
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
use the "ln" command (with the "-s" flag)
Code:
ln -s /usr/lib/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins/libjavaplugin_oji.so
or system-wide
Code:
ln -s /usr/lib/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/plugins/libjavaplugin_oji.so

Last edited by tuxdev; 05-14-2007 at 09:05 PM.
 
Old 05-14-2007, 10:55 PM   #7
jim_naisium
Member
 
Registered: Jul 2006
Posts: 74

Original Poster
Rep: Reputation: 15
The "ln" command worked.

Thank you!
 
Old 05-16-2007, 08:32 AM   #8
clayharryman
Member
 
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31

Rep: Reputation: 15
I've been having a similar problem. I ran the ln command and restarted FireFox several times. I still cannot do anything Java. Should I just try the M$ method and reboot the entire system? Not that Linux normally needs that...
 
Old 05-16-2007, 09:48 AM   #9
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
Java installs some stuff in /etc/profile.d, so you might have to log out and log back in.
 
Old 05-29-2007, 10:44 AM   #10
clayharryman
Member
 
Registered: Jan 2005
Location: Yewsten
Distribution: Fedora Core 5
Posts: 31

Rep: Reputation: 15
I kept researching this on mozilla.org and found the problem. I had to create the symbolic link in the user folder and the main mozilla folder (in my case /usr/lib/mozilla/plugins). Once I did this, it seemed to work fine.

Thanks for the answers, though!!
 
Old 11-12-2007, 12:26 AM   #11
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 42
I would also add that for Slackware 12 you need to fix Java for Firefox.

As the root user:
cd /usr/lib/firefox/plugins
ln -s /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so
 
Old 11-13-2007, 07:52 PM   #12
jim_naisium
Member
 
Registered: Jul 2006
Posts: 74

Original Poster
Rep: Reputation: 15
Thanks for the reply.

But I am no longer using Slackware, it had too many problems with it for things that "should just work" and I gave up on it and am using Ubuntu now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 04:04 AM
Problems installing Java Runtime Environment veri745 Fedora 7 04-10-2007 06:48 AM
Java runtime environment WayneS Linux - Software 2 09-07-2006 05:47 PM
Installing JAva runtime environment jcai Linux - General 3 09-28-2004 04:48 PM
installing java runtime environment Jack Ditchburn Linux - Software 4 04-13-2003 02:10 PM


All times are GMT -5. The time now is 07:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration