LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-19-2003, 04:07 AM   #1
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Rep: Reputation: 15
Help in Cofigurating J2SDK1.4.2


After I have installing J2sdk1.4.2. I got a directory in /home/eros/j2sdk1.4.2.

What should I do next? How do I configure it? How to make my Navigator be java-enabled also?

Can any1 help me plz? Thanks
 
Old 07-19-2003, 04:14 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49
Suggest you move j2sdk1.4.2 to /usr/local/j2sdk1.4.2

ln -s /usr/local/j2sdk1.4.2 /usr/local/java

cd /usr/lib/mozilla-<ver>/plugins

ln -s /usr/local/java/jre/plugin/ns610/libjavaplugin_oji.so libjavaplugin_oji.so // this should be in a aingle line.

close mozilla and start it again.

Click Help, About Plugins

Check if Java is listed.
 
Old 07-19-2003, 01:32 PM   #3
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Original Poster
Rep: Reputation: 15
how come when i click on Mozilla it will appear Netscape and the plug-in in the Netscape does not have Java listed?
 
Old 07-19-2003, 07:36 PM   #4
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Original Poster
Rep: Reputation: 15
upz
 
Old 07-20-2003, 08:26 AM   #5
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Original Poster
Rep: Reputation: 15
upz
 
Old 07-20-2003, 10:33 AM   #6
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Original Poster
Rep: Reputation: 15
Why is it so that after following the instruction i still dun not have any Java plugin listen in my Netscape?
 
Old 07-20-2003, 10:36 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
2 different directories:
/usr/lib/netscape (or similar)
/usr/lib/mozilla
You must symlink to the plugins directory within each one.

Cool
 
Old 07-20-2003, 10:38 AM   #8
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Original Poster
Rep: Reputation: 15
the problem is that i have symlink to the both directory... but there is still no plugin....
anyway.... the java should i use j2sdk1.4.2 or j2re1.4.2
cos i use j2sdk1.4.2 plugins to symlink to them.
is there any differences between the 2 java package
 
Old 07-20-2003, 10:40 AM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
sdk is basically more, but no, there shouldn't be a difference as far as the browser plugin is concerned. Can you post up the symlinks? Something like this is what you'd use to get the info I'm looking for:
ls -lh /usr/lib/mozilla/plugins
ls -lh /usr/lib/netscape/plugins

Cool
 
Old 07-20-2003, 11:00 AM   #10
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Original Poster
Rep: Reputation: 15
bash-2.05b$ ls -lh /usr/lib/netscape/plugins
total 948k
-rw-r--r-- 1 root root 2.3k Feb 8 23:47 ShockwaveFlash.class
-rw-r--r-- 1 root root 924k Feb 8 23:47 libflashplayer.so
lrwxrwxrwx 1 root root 53 Jul 20 22:27 libjavaplugin_oji.so ->
/usr/local/java/jre/plugin/ns610/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 19k Feb 8 23:47 libnullplugin.so
 
Old 07-20-2003, 12:03 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
And which version of netscape are you using? Also, can you post up your mozilla symlink as well?

When you use:
about:plugins
in netscape, does it show ANY information about Java?

Cool
 
Old 07-20-2003, 12:29 PM   #12
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Original Poster
Rep: Reputation: 15
Netscape 7.02

Mozilla symlink:
bash-2.05b$ ls -lh /usr/lib/mozilla1-3/plugins
ls: /usr/lib/mozilla1-3/plugins: No such file or directory
bash-2.05b$ ls -lh /usr/lib/mozilla-1.3/plugins
total 20k
lrwxrwxrwx 1 root root 53 Jul 20 01:11 libjavaplugin_oji.so -> /usr/local/java/jre/plugin/ns610/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 18k Mar 14 13:11 libnullplugin.so

Nope, there is no information abt Java only shows:
Shockwave Flash

File name: libflashplayer.so
Shockwave Flash 5.0 r48

Mime Type Description Suffixes Enabled
application/x-shockwave-flash Shockwave Flash swf Yes
application/futuresplash FutureSplash Player spl Yes

Default Plugin

File name: libnullplugin.so
The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins.

Mime Type Description Suffixes Enabled
* All types .* Yes
 
Old 07-20-2003, 07:45 PM   #13
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Original Poster
Rep: Reputation: 15
upz
 
Old 07-21-2003, 01:31 AM   #14
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Maybe it's netscape? All the rest of that looks fine, check your netscape configuration, is it pointing to a different place when looking for plugins? Is there something stopping it from using java in the config?

Cool
 
Old 07-21-2003, 07:35 AM   #15
Eros_
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0 GNOME
Posts: 27

Original Poster
Rep: Reputation: 15
Can I know how to check where is my netscape pointing it plugins cos i can't find it
 
  


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
apt-get j2sdk1.4, now where is my path? lefty.crupps DamnSmallLinux 4 10-18-2005 02:19 PM
help classpath problem j2sdk1.4.2_04 antony_csf Linux - Software 3 06-17-2004 01:46 AM
apt-get source for j2sdk1.4 (1.4.0.99 bet) chas Debian 10 01-23-2004 10:26 PM
problem to install j2sdk1.3 j2re1.3 eduac Linux - Software 1 01-23-2004 02:35 PM
mozilla 1.0.0 and sun j2sdk1.4.0_01 jhsnyder Linux - Software 10 08-04-2002 03:24 PM


All times are GMT -5. The time now is 04:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration