LinuxQuestions.org
Review your favorite Linux distribution.
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 07-21-2004, 08:25 AM   #1
MilkyBar_Kid
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Rep: Reputation: 0
java problem?


Hi

I am having problems viewing some web pages that needs Java installed.

I have installed Firefox, and have done a sim link from the Java plugin file to the Firefox plugin file.

For some strange reason, Java doesn't work.

The java installed in Slack #10 is 1.4.2_04. Are there problems with this version of Java? I have Slack #9.1 installed on another box, with an earlier version of Java,

Doing a sim link from the Java plugin file to the Firefox plugin file in the other PC, I don't have any problems.


Any ideas

TIA
 
Old 07-21-2004, 03:23 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you try as root ?If it works as root, try to check permissions for original plugin files
 
Old 07-21-2004, 03:35 PM   #3
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Just for reference, this is my output whenever I do an 'ls -l' in the firefox plugins directory.
Code:
lrwxrwxrwx  1 kevin kevin    43 2004-07-20 00:12 libflashplayer.so -> /usr/lib/netscape/plugins/libflashplayer.so
lrwxrwxrwx  1 kevin kevin    62 2004-07-20 00:13 libjavaplugin_oji.so -> /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so*
-rwxr-xr-x  1 kevin kevin 19096 2004-06-28 00:15 libnullplugin.so*
Does yours differ in any way from mine?
 
Old 07-22-2004, 12:48 PM   #4
MilkyBar_Kid
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Hi

My output for ls -l is

-rwxr-xr-x 1 root root 856 2004-07-20 22:20 flashplayer.xpt*
-rwxr-xr-x 1 root root 2096844 2004-07-20 22:20 libflashplayer.so*
lrwxrwxrwx 1 root root 62 2004-07-20 22:13 libjavaplugin_oji.so -> /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so*


as you can see, it's pretty similar to yours.

The problem is that when I visit a page that needs to run java, my browser just hangs.....
 
Old 07-22-2004, 01:23 PM   #5
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
Quote:
Originally posted by MilkyBar_Kid
Hi

My output for ls -l is

-rwxr-xr-x 1 root root 856 2004-07-20 22:20 flashplayer.xpt*
-rwxr-xr-x 1 root root 2096844 2004-07-20 22:20 libflashplayer.so*
lrwxrwxrwx 1 root root 62 2004-07-20 22:13 libjavaplugin_oji.so -> /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so*


as you can see, it's pretty similar to yours.

The problem is that when I visit a page that needs to run java, my browser just hangs.....
I had a problem with some of the java plugis... if you do a search libjava you will find there is about 4 of the files... Try useing each one.. if you find one that works continue to use it.

There is one that I have used that will not allow firefox to launch, i tried the other ones and one of them worked fine
 
Old 07-22-2004, 02:19 PM   #6
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Quote:
Originally posted by MilkyBar_Kid
Hi

My output for ls -l is

-rwxr-xr-x 1 root root 856 2004-07-20 22:20 flashplayer.xpt*
-rwxr-xr-x 1 root root 2096844 2004-07-20 22:20 libflashplayer.so*
lrwxrwxrwx 1 root root 62 2004-07-20 22:13 libjavaplugin_oji.so -> /usr/lib/java/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so*


as you can see, it's pretty similar to yours.

The problem is that when I visit a page that needs to run java, my browser just hangs.....
How did you install yours? Did you get the slack package or did you just get the .gz from the Mozilla website?
 
Old 07-22-2004, 02:32 PM   #7
MilkyBar_Kid
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Slack #10 is a fresh install.

The sim link I made to Firefox is the same as the one that's already linked to the Moz browser

In case you're wondering, the site I'm trying to see is the hushmail site.

In Slack #9, doing a sim link to the pre-installed Java plugin, I can vew my Hushmail account.

Doing a sim link to the pre-installed Java plugin in Slack #10, the browser just hangs........

Thanks.
 
Old 07-22-2004, 03:01 PM   #8
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
I meant how did you install Firefox. Sorry, I should have made that more clear.
 
Old 07-22-2004, 03:06 PM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Does the same problem appear when running Firefox as root user and browsing the same pages ?
 
Old 07-22-2004, 03:07 PM   #10
MilkyBar_Kid
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
From the Moz site.

Tared it, and launched it as root. Then did a sim link to the plugin file.
 
Old 07-22-2004, 03:39 PM   #11
blk96gt
Member
 
Registered: Jun 2004
Location: Nacogdoches, TX
Distribution: Ubuntu 7.04
Posts: 230

Rep: Reputation: 30
Does it do it with every page that requires java, or just that one you were trying to access?
 
Old 07-22-2004, 03:44 PM   #12
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Anyway I found it insecure to run java applets from sites as root.

Try install the java plugin for your user (do the symlink as user in the firefox plugins directory in your home directory) then browse the java pages as user and see if it works
 
Old 07-22-2004, 05:31 PM   #13
MilkyBar_Kid
LQ Newbie
 
Registered: Jan 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by blk96gt
Does it do it with every page that requires java, or just that one you were trying to access?
Tested the browser at the Java site, JVM is working fine. I can see the dancing penguin

I just don't understand why this version doesn't work while an older version does



Quote:
Originally posted by keefaz
Anyway I found it insecure to run java applets from sites as root.

Try install the java plugin for your user (do the symlink as user in the firefox plugins directory in your home directory) then browse the java pages as user and see if it works
I am not running as root.

I installed my browser as root, and sim linked as root. Then launched the browser as regular user.
 
  


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
Java Problem...again theguitarsquall Mandriva 8 01-08-2005 12:44 PM
Java Problem anirudh Programming 6 10-27-2004 03:42 PM
Java problem CragStar Programming 11 03-11-2004 10:02 AM
Java problem please help bwaynej2002 Linux - Software 2 02-06-2004 08:38 PM
Java problem oicdn Linux - Software 10 01-08-2004 07:00 PM

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

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