LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-03-2008, 02:15 PM   #1
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Rep: Reputation: 15
Problem installing Sun Java on Slackware


Have Sun Java jre1.6.0_10 extracted and I've attempted numerous times to configure it in Slackware to no avail. Since I installed Adobe Flash without too much difficulty I assumed I was an expert.

I am finding on my somewhat new (2-3 mons) Slackware installation that in usr/lib I have two firefox dir's: firefox and then firefox 2.0.0.14. My active Firefox version is version 2.0.0.17 and this confuses me greatly. In addition I have a Mozilla directory with only plugins. In the Mozilla directory is where some plugins live I suppose, but the two Firefox directory's are preventing me from configuring the darn thing properly since I don't know which is which and which "plugin" directory is correct for this installation.

I've followed the directions on the Sun Java site to the letter "I think"..and have tried to configure to each 'firefox' directory. Any input or pointing me to a site that will assist will be greatly appreciated. Anyhow I very tired of seeing "command not found" after typing....

Quote:
ln -s /usr/java/jre1.6.0/plugin/i386/ns7
/libjavaplugin_oji.so

Thanks in advance....I remain a most humble one.
 
Old 11-03-2008, 02:30 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Slackware includes the Sun JRE, and if you need a newer version then the simplest solution would be to install it from slackware-current.

What are you trying to do?
 
Old 11-03-2008, 02:34 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
ln -s /usr/java/jre1.6.0/plugin/i386/ns7
/libjavaplugin_oji.so
You don't type the line break.

And for the copy of Firefox that came with Slackware, the plugin symlink should go in /usr/lib/mozilla/plugins.

Last edited by dugan; 11-03-2008 at 02:38 PM.
 
Old 11-03-2008, 03:05 PM   #4
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dugan View Post
Slackware includes the Sun JRE, and if you need a newer version then the simplest solution would be to install it from slackware-current.

What are you trying to do?
Thanks very much for your prompt response.

I'm attempting to run the radar loop on the National Weather Service site.

Just need a simple java installation...nothing fancy....just having problems with configuration.....it's all very new to me in Slackware.....but that's the reason I am using Slackware..to learn. Now then just how do I get the Java thats in Slackware to run the radar loop?

Thanks....
 
Old 11-03-2008, 08:20 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Assuming you mean something like this,
(http://radar.weather.gov/radar.php?r...01111&loop=yes),
it works for me using Slackware 12.1's stock Seamonkey and Slackware 12.1's stock JRE.
 
Old 11-03-2008, 08:25 PM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Cool

Quote:
Originally Posted by dugan View Post
Assuming you mean something like this,
(http://radar.weather.gov/radar.php?r...01111&loop=yes),
it works for me using Slackware 12.1's stock Seamonkey and Slackware 12.1's stock JRE.
Nice website. Works well for me too.
 
Old 11-03-2008, 09:21 PM   #7
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Worked 4 me / 12.1
 
Old 11-03-2008, 09:33 PM   #8
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Worked 4 me / -current
 
Old 11-04-2008, 12:37 AM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
So 7pack, here's your answer: you didn't need to do anything. It works out of the box.
 
Old 11-04-2008, 09:09 AM   #10
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Unhappy I broke it.

Quote:
Originally Posted by dugan View Post
So 7pack, here's your answer: you didn't need to do anything. It works out of the box.
I'm in SeaMonkey now and went to the link you provided and get a black line across the window. Without a doubt I screwed something up when I attempted to install Sun Java in Firefox. Now to figure out what. Any ideas?
 
Old 11-08-2008, 09:53 AM   #11
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Since I've screwed up the Java for SeaMonkey and don't know how to fix it, I have continued trying to install Java for Firefox without positive results. In following the suggestions on the Sun Java site after downloading the file and extracting into it's own directory..etc. Here's the problem when I attempt to use the "In -s /" command:

[HTML]
root@darkstar:~# cd /usr/lib/firefox/plugins
root@darkstar:/usr/lib/firefox/plugins# In -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so
-bash: In: command not found[/HTML]


Very new to Linux and wondering what I'm doing wrong to get "In -s" to work. I've read and read and it seems that I'm in the root and it should be recognized.

I've tried using the Mozilla directory and as you see the Firefox directory and renamed the Java version directory to just jre1.6.0. (Yes I tried it many time with the full name....and shortened it for expediency.)

In days past I would just give up and wipe the disk and start over. Not this time...I want to work through this and learn.

Many thanks.....
 
Old 11-08-2008, 10:08 AM   #12
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
Quote:
Originally Posted by 7pack View Post
[HTML]
root@darkstar:~# cd /usr/lib/firefox/plugins
root@darkstar:/usr/lib/firefox/plugins# In -s /usr/java/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so
-bash: In: command not found[/HTML]
You're misreading the command - it is 'ln', short for 'link', not 'in', or 'In' as you're using....

cheers,
 
Old 11-08-2008, 10:51 AM   #13
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mrclisdue View Post
You're misreading the command - it is 'ln', short for 'link', not 'in', or 'In' as you're using....

cheers,
.....Instructions from Sun say since I've extracted all the files for the Java file to be used in (it's own directory)...I must now make a "Symbolic Link" to that file. I assumed the "In" command had something to do with that....as in "In -s /" and you are saying it doesn't eh? This could be a bit confusing for a newbie like me....but I'm not running away....just gonna have some breakfast and come back and work on it some more.
 
Old 11-08-2008, 12:19 PM   #14
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
must now make a "Symbolic Link" to that file. I assumed the "In" command had something to do with that...
The command to create that symbolic link is "ln -s" (ell enn space minus ess) and not as you keep typing "In -s" (capital I enn space minux ess).
You got to learn more, fast! You lack the pure basic knowledge to administer your system. I suggest you take some time to read the Slackware Linux Basics.

Eric
 
Old 11-08-2008, 12:38 PM   #15
7pack
Member
 
Registered: Jul 2008
Location: la
Distribution: Slackware 12.2, Ubuntu
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien Bob View Post
The command to create that symbolic link is "ln -s" (ell enn space minus ess) and not as you keep typing "In -s" (capital I enn space minux ess).
You got to learn more, fast! You lack the pure basic knowledge to administer your system. I suggest you take some time to read the Slackware Linux Basics.

Eric
Be that as it may....doing it my way....I now have Java working in Firefox by doing it from KDE (gawd forbid) drag and drop etc. It is unorthodox probably by your standards, but it works. I will continue to read "basics" as time permits....I was just confused that in following suggestions that the commands listed were not working.

I'm sorry if my little problem ruffled your feathers and I'll try to be a good boy and not post anything in the future that is "below basic knowledge."
 
  


Reply



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
Installing Sun java on Mandriva 2007 Waqas Ahsan Mandriva 3 03-25-2008 08:33 AM
Problems installing Sun Java 6 cyb3rdawn Linux - Software 3 07-08-2007 06:48 AM
Problem Installing SJSAS_8 --Sun Java Server on FC2 nagu_linux Programming 2 03-30-2005 05:06 AM
Problem installing sun java application server on linux R0ss_here Linux - Software 0 02-13-2004 12:14 PM
Installing java Machine from Sun (JMF-2.2.1) coltranefawz Linux - Software 1 06-22-2003 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:42 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
Open Source Consulting | Domain Registration