LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2004, 10:57 PM   #31
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30

And for anyone who that doesn't work for, here it is in LONG, DRAWN OUT, 100% GARAUNTEED TO WORK format:

http://www.gnutellaforums.com/showth...threadid=11187
 
Old 04-10-2004, 09:00 PM   #32
geekzster
LQ Newbie
 
Registered: Apr 2004
Distribution: Ubuntu 10.10
Posts: 18

Rep: Reputation: 0
FOOK YEAH I DID IT!!

I actually wiped everything out and did a fresh clean install of redhat. did all the updates from rhn including kernel and all the updates, etc. installed the kde desktop this time instead of gnome.

downloaded the current sdk for java instead of just the vm (because all of this is actually because i want to do some java programming in the first place, i suppose I better get the sdk LOL)

installed the sdk according to the directions on the java site, at this link: http://java.sun.com/j2se/1.4.2/insta...ml#install-rpm

then went to Konsole, did su root, then went to /usr/java/j2sdk1.4.2_04/jre/bin and did this command: sh ControlPanel (somewhat based on these instructions) the script didnt work quite right so i improvised a little. when I browsed to the dir ControlPanel was in I noticed a little 'sh' on the icon and figured it ought to work...

the sh ControlPanel command launches a gui...in the control panel gui, I only changed one thing: under the advanced tab I pointed it to the proper path for the java executable, which in my case is /usr/java/j2sdk1.4.2_04/jre

next I opened up a Konqueror browser session, and at the top of the window I clicked on 'settings' and then 'configure Konqueror' and went to where it says 'java/javascripts'

next I edited the part where it says 'Path to Java executable' so that it points to /usr/java/j2sdk1.4.2_04/jre/bin/java, and also ticked off the box that enabled java globally

then created my bashrc file following exactly what vector said to do. as I didnt have a bashrc file, I just went back to Konsole again and typed 'vi /home/bashrc 'and put in the lines that violator has and bingo I have a new bashrc file.

now it works. woot.

(if anyone read my post here before I edited it, I was getting frustrated, and after thinking about it thought better of it and edited it. if you read it before I got to editing it, I apologize)

Last edited by geekzster; 04-10-2004 at 10:36 PM.
 
Old 04-17-2004, 01:18 AM   #33
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by shanenin
do a
whereis mozilla-firefox
it might be installed in a different directory, possible usr/local
It gives me this: "mozilla-firefox:", and I'm not sure what to do with that.
 
Old 04-17-2004, 08:00 AM   #34
jmp875
LQ Newbie
 
Registered: Feb 2004
Location: Philadelphia
Distribution: Mandrake 9.2
Posts: 24

Rep: Reputation: 15
danke, gracias, todah, merci and thanks

vectordrake, many thanks for your very detailed how-to on getting the java plugin to work in firefox. (and many thanks to the other newbs who ask better questions than i do.)
 
Old 04-17-2004, 11:41 AM   #35
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Thatnks for telling all of us what actually worked. Anybody who actually botheres to use the search function will see what you did to solve their own problem and won't have to ask, as you already did .

Unfortunately, now I gotta reinstal this stuff...my hard drive decided it wasn't gonna work any more.

One word for all:


BACKUPS
 
Old 04-17-2004, 11:53 PM   #36
geekzster
LQ Newbie
 
Registered: Apr 2004
Distribution: Ubuntu 10.10
Posts: 18

Rep: Reputation: 0
LOl vector you NEWB! (jk dude seriously...but LOL...it soooo happens to us all)
 
Old 04-18-2004, 12:32 AM   #37
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
BTW, I have backed up. Just barely. I almost gave it an extra day. I got lucky. no data lost. No real HD space, though. I pulled a gigger from an old pentium I had in the back room. I gotta save for a new drive. Thinking about WD800. 3 year warranty. Got me peaked.
 
Old 04-18-2004, 12:46 PM   #38
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by elamigo2004
It gives me this: "mozilla-firefox:", and I'm not sure what to do with that.
Hello??? I still need some help here. (not trying to be an ass, of course)
 
Old 04-18-2004, 01:23 PM   #39
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
That means that currently you can't see it even if its installed. What you really need to do is to update your slocate database. Here's how:

-su to root
-type updatedb
-wait for it to finish churning - its cataloging every file on your computer
-when done, type "locate firefox" or "slocate firefox"
I wouldn't narrow down to mozilla-firefox (mainly because you will get your results better this way)

What you will get is a list of every instance of "firefox". If its installed, you'll get the whole path to the directory, etc.




Let's back up for a sec (not the kind of backup I'm glad I did).

How did you install firefox? Did you get the .tar.gz from the mozilla site? Or did you install it from the cd? Its important to find out where the plugins directory is located. Once you find it, you should be able to make that symbolic link to the java plugin. By the way, if you use any java pre-1.5beta, your java plugin will be called javaplugin_oji.so and it has to be linked in the plugin directory as libjavaplugin_oji.so.

Therefore, you'd
ln -s /usr/java/j2se<whatever>/plugin/i386/mozilla/javaplugin_oji.so libjavaplugin_oji.so

if you were then to do a ls -al on this directory, you'd get a listing of the files includint their owners and any symbolic links.

Try firing up the browser after that and typing "aboutlugins" in the address line. If there is a ling section about java stuff in there, you're good to go. Take it to Yahoo games and see if it'll run on their cruddy excuse for java applets. If it'll run there, it'll run any java pages, IMO.
 
Old 04-18-2004, 02:52 PM   #40
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
I haven't installed anything on Phlak yet. The web browser came with the OS. Thanks for your help, I'll try that.
 
Old 04-18-2004, 03:07 PM   #41
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
[QUOTE]Originally posted by vectordrake

-su to root
-type updatedb
-wait for it to finish churning - its cataloging every file on your computer
-when done, type "locate firefox" or "slocate firefox"
I wouldn't narrow down to mozilla-firefox (mainly because you will get your results better this way)

Ok, i know it's installed, but I did steps 1-4, but when I typed in "locate firefox", it just gave me another line as usual saying "bash1.4 whatever". I know it's installed, but why is this not working?
 
Old 04-18-2004, 10:43 PM   #42
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
What tools are missing from phlack??????Jaysuse!
I guess you'll have to check various directories manually. Look in /usr and /opt for sure. Try /usr/lib and /usr/local. I haven't used Phlack so I don't know where to go with it.
 
Old 04-19-2004, 06:08 PM   #43
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
ok I had this problem I instead of linking the java program to /usr/lib/mozilla-*.*/plugins I went to my home dir and the mozilla dir by running "cd ~/.mozilla/" then I did a "mkdir plugins". then "cd plugins" then "ln -s /usr/java/j*/plugins/i386/ns/libjavaplugin_oji.so ."
Now with mozilla 1.6 in linux redhat 9 and java 1.4.2 I ran "/usr/java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so" this may need some experimenting to find the right libjavaplugin_oji.so. I went ahead and tried each one. until I found one that worked. Make sure that your path varible has the path to the java bin directory. to see if at a prompt loged in as the user that you will use with java. run "export | grep path" if there is a path to /usr/java/>>/bin then your find otherwise you must edit "~/.bash_profile" and follow the advice of vectordrake.
 
Old 08-13-2004, 01:54 PM   #44
dav7500
Member
 
Registered: Feb 2004
Posts: 45

Rep: Reputation: 15
Help! I made some progress in that I installed latest Java - version 1.4.2_05. It's installed in the "/usr/java/j2re1.4.2_05" directory however when I type "java -version" I still get this older version output:

java version "1.3.1"
jdkgcj 0.2.3 (http://www.arklinux.org/projects/jdkgcj)
gcj (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

I've edited my "/home/xxxx/.bashrc" file. New contents are:

--------------------------------------------------------
# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

PATH=$PATH:/usr/java/j2re1.4.2_05/bin
JAVA_HOME=/usr/java/j2re1.4.2_05/bin
export PATH
export JAVA_HOME
--------------------------------------------------------

I've also added the sym link as follows:

cd /usr/lib/mozilla/plugins

ln -s /usr/java/j2re1.4.2_05/plugin/i386/ns610-gcc32/
libjavaplugin_oji.so .


So, despite above success (?), "java -version" cmd returns wrong version AND now my Mozilla Web Browser doesnt start up. I'm guessing I mixed/matched wrong Java versions or something as cautioned above somewhere but it's above my head.

Any ideas/help?

On the plus side, Konqueror now display Java pages properly by configuring it as suggested above (Java/JavaStart settings).

BTW - I'm on Red Hat Linux.

Thanks!
 
Old 10-02-2004, 10:13 PM   #45
garymd
LQ Newbie
 
Registered: Apr 2004
Location: Olympia, wa
Distribution: Mandrake 10, 10.1
Posts: 29

Rep: Reputation: 15
Cool

For what it is worth the above procedure also worked well to get JV working with Netscape 7.2 on Mandrake 10.1.
The procedure being :
install the java rpm from Mandrake (j2re-1.4.2_05-2mdk.i586.html) found in commercial section of rpm's
Then via a root console navigate to the location of netscape plugins.
Once there, create a link to the location of your java plugin with the command below:
ln -s /usr/java/j2re1.4.2_05/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

Thanks for all the help from those responses above - I love linux?.org


http://www.linuxquestions.org/questi...ostid=1211719#

Last edited by garymd; 10-02-2004 at 10:15 PM.
 
  


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
java does not install in opt but install in usr bbmak Linux - Software 6 10-02-2005 11:13 PM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM
Java Install marlaina1 Linux - Software 5 03-22-2004 11:58 AM
Java Install Please Help!!! unwrittenlaw Linux - Newbie 22 11-08-2003 11:42 PM
Help with java install (again...) MidgetmanUK Linux - Newbie 3 10-04-2003 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:29 PM.

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