LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem installing Sun Java on Slackware (https://www.linuxquestions.org/questions/slackware-14/problem-installing-sun-java-on-slackware-680885/)

7pack 11-03-2008 02:15 PM

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.:)

dugan 11-03-2008 02:30 PM

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?

dugan 11-03-2008 02:34 PM

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.

7pack 11-03-2008 03:05 PM

Quote:

Originally Posted by dugan (Post 3330493)
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....

dugan 11-03-2008 08:20 PM

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.

hitest 11-03-2008 08:25 PM

Quote:

Originally Posted by dugan (Post 3330801)
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.

slackass 11-03-2008 09:21 PM

Worked 4 me / 12.1

MannyNix 11-03-2008 09:33 PM

Worked 4 me / -current

dugan 11-04-2008 12:37 AM

So 7pack, here's your answer: you didn't need to do anything. It works out of the box.

7pack 11-04-2008 09:09 AM

I broke it.
 
Quote:

Originally Posted by dugan (Post 3330962)
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?

7pack 11-08-2008 09:53 AM

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.....

mrclisdue 11-08-2008 10:08 AM

Quote:

Originally Posted by 7pack (Post 3335368)
[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,

7pack 11-08-2008 10:51 AM

Quote:

Originally Posted by mrclisdue (Post 3335378)
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.:newbie:

Alien Bob 11-08-2008 12:19 PM

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

7pack 11-08-2008 12:38 PM

Quote:

Originally Posted by Alien Bob (Post 3335478)
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."


All times are GMT -5. The time now is 03:50 PM.