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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-30-2004, 02:57 PM
|
#1
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
Java & Firefox
I'm trying to view pages on the net and some tell me that I need to install java, so i downloaded j2re-1_3_1_11-linux-i586.bin and ran the following commands in my home directory...
chmod a+x j2re-1_3_1_11-linux-i586.bin
./j2re-1_3_1_11-linux-i586.bin
and "yes" at the end of the readme
i restarted Firefox went to the site again and got this error again...
This page contains information of a type (application/x-java-vm) that can only be viewed with the appropriate Plug-in.
The page also has the option to download and install the Plug-in; which i have also tried and didn't work. Any suggestions?
|
|
|
03-30-2004, 03:04 PM
|
#2
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware
Posts: 92
Rep:
|
Hi,
You should be using j2re1.4.2
You also have to link /firefox/plugins/libjavaplugin_oji.so to /where/you/put /
it/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so*
Hope this helps
http://plugindoc.mozdev.org/faqs/java.html
|
|
|
03-30-2004, 03:05 PM
|
#3
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
You need to create a link between the plugin in the Java directory and the plugin directory in Firebird. Once you create this link, java will work fine in Firefox.
|
|
|
03-30-2004, 03:23 PM
|
#4
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Original Poster
Rep:
|
Ok cool, but should i uninstall java-1.3* first or can I just overwrite it? I tried cding to jre1.3.1_11 and make uninstall but that doesn't do anything.
|
|
|
03-30-2004, 03:29 PM
|
#5
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware
Posts: 92
Rep:
|
You can leave it be.
The 1_4_2 will create it's own directory .
Just make your link from the plugins directory to the proper one.
Once you have done it type "about  lugins" in the title bar and you should see that it is installed and enabled.
|
|
|
03-30-2004, 03:30 PM
|
#6
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware
Posts: 92
Rep:
|
That should be about  lugins
Don't know where the happy face thing came from
|
|
|
03-30-2004, 03:56 PM
|
#7
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Original Poster
Rep:
|
Ok, when i install everything and try to ln -s i get this...
matrix@Linux-Powered:~/Firefox/plugins$ ln -s /home/matrix/Libraries/Java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
ln: `./libjavaplugin_oji.so': File exists
run Firefox and still no java?
|
|
|
03-30-2004, 04:04 PM
|
#8
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware
Posts: 92
Rep:
|
Hi....
That should be....
matrix@Linux-Powered:~/Firefox/plugins$ ln -s /home/matrix/Libraries/Java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so libjavaplugin_oji.so
If there is already an existing libjavaplugin_oji.so in your Firefox/plugins directory then blow it away and run the command again
|
|
|
03-30-2004, 04:10 PM
|
#9
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Original Poster
Rep:
|
Yeah, i figured that out but now the browser crashes. Is this a Firefox bug?
|
|
|
03-30-2004, 04:14 PM
|
#10
|
Member
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393
Rep:
|
I myself emerged Firefox, which built it from the source, and after that Java worked just fine which is helped by Gentoo having Java already in it. It's usually a good idea to build it from the source because it will not only be compiled with your machine's specs in mind, but it will also work a lot better as far as themes and fonts go. Once you do that, the plugins for Mozilla, Epiphany, Galeon, Firefox, and about any other browser go into /usr/lib/nsbrowser/plugins.
|
|
|
03-30-2004, 06:39 PM
|
#11
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
Check your gcc version (I think gcc -v) and make sure your system is compiled with a compatible version. See that gcc32 in the plugin path? If you're not using a gcc version 3.2 or later, you may have trouble. If that is the case, try linking to one of the other plugin versions. There should be two or three to choose from.
|
|
|
04-01-2004, 10:45 PM
|
#12
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Original Poster
Rep:
|
I checked gcc and it's the right version...
gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.2.3
When i about : plugins everything is "YES"
The page loads java, but as soon as the page loads the browser crashes and exits.
|
|
|
04-02-2004, 07:12 AM
|
#13
|
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
|
If I were in your shoes, I'd give Blackdown java a try. It seems to work in situations that Sun's java doesn't.
|
|
|
04-02-2004, 05:49 PM
|
#14
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Original Poster
Rep:
|
These are errors i am getting when i run firefox in the terminal after it crashes...
ALSA lib pcm.c:1908 : (snd_pcm_open_noupdate) Unknown PCM hw:0
java_vm: conf.c:3110: snd_config_update_free: Assertion `update->count > 0 && update->finfo' failed.
INTERNAL ERROR on Browser End: Pipe closed during read? State may be corrupt
System error?:: Interrupted system call
|
|
|
04-02-2004, 06:41 PM
|
#15
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Original Poster
Rep:
|
OK, i figured it out. I had to install the alsa libraries. Cool  BUT my sound is choppy if anyone can help me there!
|
|
|
All times are GMT -5. The time now is 10:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|