LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-27-2005, 02:34 PM   #1
KezzerDrix
Member
 
Registered: Mar 2005
Location: Oklahoma City
Distribution: Fedora Core
Posts: 128

Rep: Reputation: 15
Having trouble with Java


I have installed Java and followed the directions, I have created my symbolic link in the mozilla plugins folder. However, I still don't have Java functionallity. When I open a console and direct myself to the mozilla plugins folder I can see the link I created but it flashes red using Konsole. I would like to get Java working.

I have java here
/usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so


I have mozilla plugin here
/usr/local/mozilla/plugins

this is what is in there
flashplayer.xpt* libjavaplugin_oji.so@ ns7@
libflashplayer.so* libnullplugin.so*

Yes, I did enable java in the preferences and restarted no luck
The ns7 and the libjavaplugin_oji.so
are what blinks red

this is the command I used to create my link
ln -s /usr/java/j2re1.5.0/plugin/i386/ns7/libjavaplugin_oji.so

Thanks
Kezz

Last edited by KezzerDrix; 03-27-2005 at 02:41 PM.
 
Old 03-27-2005, 03:51 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Delete the red files in your plugins directory then recreate the symlinks.
 
Old 03-27-2005, 04:48 PM   #3
xgm
Member
 
Registered: Feb 2005
Location: Sitges, Earth
Distribution: MDV2005LE, 2006 rc2
Posts: 58

Rep: Reputation: 15
Had the same problem.
Make the symlink: " ln -s /usr/java/.......... /libjavaplugin_oji.so . "
See? Dont forget the <space><dot> that ends the link.
Hope it works for you
 
Old 03-27-2005, 09:25 PM   #4
KezzerDrix
Member
 
Registered: Mar 2005
Location: Oklahoma City
Distribution: Fedora Core
Posts: 128

Original Poster
Rep: Reputation: 15
okay thanks.

Ps how do I delete items in a console. I tried del and delete and it says invalid command.
 
Old 03-28-2005, 12:28 AM   #5
J.K
Member
 
Registered: Dec 2003
Location: Australia
Distribution: mandrake 10.1 Official
Posts: 218

Rep: Reputation: 30
Why don't you just use the rpm ?

You don't have to configure anything. You simply install the jre rpm and everything works :-)

Cheers
 
Old 03-28-2005, 07:17 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
J.K are you saying the jre rpm creates a symlink to the firefox/mozilla plugins directory. I have never heard of this before.
 
Old 03-28-2005, 12:22 PM   #7
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
I dont know if you've sorted this out yet but in your symlink you seem to have missed out _02 in the jre file. You need to type:
ln -s /usr/java/j2re1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so .

At least I think you do. I had a lot of trouble getting java working and if you get it wrong the first time you need to delete the libjavaplugin_oji.so file and then redo it correctly. It creates that file but it wont work if done incorrectly. I had to remove it by typing rm libjavaplugin_oji.so at the command line.

Also, why are you typing j2re1.5.0 in the link if your file is actually called jre1.5.0_02?
 
Old 03-28-2005, 12:27 PM   #8
KezzerDrix
Member
 
Registered: Mar 2005
Location: Oklahoma City
Distribution: Fedora Core
Posts: 128

Original Poster
Rep: Reputation: 15
good point, it seems I may have type o'd.

That and I missed the . at the end.

I'll let you know if I get it working.

Thanks for all the help.

Kezz

Last edited by KezzerDrix; 03-28-2005 at 12:30 PM.
 
Old 03-29-2005, 04:07 AM   #9
J.K
Member
 
Registered: Dec 2003
Location: Australia
Distribution: mandrake 10.1 Official
Posts: 218

Rep: Reputation: 30
Quote:
Originally posted by reddazz
J.K are you saying the jre rpm creates a symlink to the firefox/mozilla plugins directory. I have never heard of this before.
What I am saying is that on EVERY computer that i have put Mandrake on which includes versions 9.1, 9.2 and 10.1 (all official) , all i ever did was install the java rpm and mozilla showed the plugin in it's plugins list ( just click on help then on plugins) .

Java has always worked fine for me this way without any extra editing.

This is the name of the rpm. j2re-1.4.2_01-1mdk.i586.rpm

Notice it is a mandrake rpm, so this is probably why it workes like that., i found it at slo-bytes I think

Cheers
 
Old 03-29-2005, 08:09 AM   #10
KezzerDrix
Member
 
Registered: Mar 2005
Location: Oklahoma City
Distribution: Fedora Core
Posts: 128

Original Poster
Rep: Reputation: 15
Okay, I got it working, I went to dslreports, they have a bandwidth tester that uses java. It worked great.

However, my site www.houseofroettger.com has java drop down menu's that do not work. At my site there is a banner on the top and then a menu bar with about us, our pictures, our videos, and links when the mouse goes over one of these headings the menu contents are supposed to automatically drop down. When using internet explorer on my windows system they work flawlessly, when using mozilla, firefox, or konquer on my linux partition it doesn't work at all.

Any help?
Thanks
Kezz
 
Old 03-29-2005, 08:20 AM   #11
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Those aren't java menus, they're Flash . Try updating your flash software and see if it works.

- Peder
 
Old 03-29-2005, 09:57 AM   #12
KezzerDrix
Member
 
Registered: Mar 2005
Location: Oklahoma City
Distribution: Fedora Core
Posts: 128

Original Poster
Rep: Reputation: 15
I used seltco menu creator to create the drop down menus. It asked if I wanted to export the java script file and saved them as roettgermenu.js and roettgermenu2.js

The code to call these menu's is

<DIV STYLE="width:235; height:34; position:absolute; left:0; top:60; z-index:1;">
<SCRIPT SRC="RoettgerMenu.js">
</SCRIPT>
</DIV>

want I am wondering is do I need to add code for firefox?

I probably need to ask the firefox forum, but thought that it may be a simple fix.
 
Old 03-30-2005, 09:06 AM   #13
bunnadik
Member
 
Registered: Jan 2005
Location: Övik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
Well, java and java script are two _entirely_ different things (apart from the misleading names).
Make sure you have javascript enabled in ffox.

- Peder
 
  


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
Trouble with Java SDK 1.4.2 uphu Fedora 3 12-14-2004 01:14 PM
Help! Having Trouble Downloading Java Dooley Mandriva 3 12-06-2004 02:23 PM
Having trouble installing java... broham Linux - Newbie 2 11-10-2004 07:16 PM
Trouble with Java a2b2c2d Linux - Software 2 10-04-2004 08:58 PM
Trouble w/java raysr Linux - Newbie 7 01-10-2004 02:24 PM

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

All times are GMT -5. The time now is 11:08 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