LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-23-2007, 01:43 PM   #1
karyoker
LQ Newbie
 
Registered: Feb 2007
Distribution: Etch 2.6.18-3-686
Posts: 26

Rep: Reputation: 15
Mozilla Java Run Time


This little problem is driving me buggy I have few ftp accounts on my web server They require the java plug-in...

One is anonymous

For manual install on sun
there is the following..
Since Im using the 2.6.18-3-686 kernel I assume I should install the 64 bit but the download is amd64 and I usei386 p4 prescott..

Ive tried all the versions and with the linux (self extract) I can actually click on the sun verify button and it says congratulations you have installed java runtime Yet it still doesnt work...

If anybody can use the ftp Id sure like to know which browser you are using..
 
Old 02-23-2007, 02:42 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Your site for anonymous looks fine from my end other the the error from bluehost (their certificate).

Please review;

http://www.linuxquestions.org/questi...&highlight=SDK

My browser is: firefox-2.0.0-1-5 (32bit) on my x86_64 system.

Last edited by Lenard; 02-23-2007 at 02:51 PM.
 
Old 02-23-2007, 03:23 PM   #3
karyoker
LQ Newbie
 
Registered: Feb 2007
Distribution: Etch 2.6.18-3-686
Posts: 26

Original Poster
Rep: Reputation: 15
Ok thanks Lenard Ill try that

When I do this

Code:
deb:/home/cab# java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
deb:/home/cab#
But in synaptic it shows sun-java5 -jre 1.5.0-10-3 Sun Java(TM) Runtime Environment (jRE)5.0 as installed.

So I think your procedure in the other thread will work...
 
Old 02-23-2007, 04:14 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Hopefully, it is written for the Red Hat family but should be helpful in other Linux flavors. Make sure that you do create or have the link for sun's jre where ever your mozilla/plugins directory location is.

http://plugindoc.mozdev.org/linux.html#Java
 
Old 02-26-2007, 11:58 AM   #5
karyoker
LQ Newbie
 
Registered: Feb 2007
Distribution: Etch 2.6.18-3-686
Posts: 26

Original Poster
Rep: Reputation: 15
Yea etch is a little different I can run

Code:
deb:/home/cab# update-alternatives --config java

There are 3 alternatives which provide `java'.

  Selection    Alternative
-----------------------------------------------
          1    /usr/bin/gij-wrapper-4.1
 +        2    /usr/lib/jvm/java-gcj/jre/bin/java
*         3    /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

Press enter to keep the default[*], or type selection number:
Ok Ive got 1.5.0 installed and selected.. Java -version shows it..

I still have a question on using this for a 64 bit system.

Im tying to follow these instructions to do a symlink...

Code:
Enable java in your browser
In order to enable java in your browser you have to link the right plugin. For firefox it works as follows:
•
Open a shell and go to the plugins directory of your installed java. Here you will find the plugin you need to 
link. It is named 'libjavaplugin_oji.so'. 
•
Now you need to link this plugin to the plugins directory of firefox. It will probably be in /usr/lib/mozilla*
firefox/plugins (In Etch this is /usr/lib/firefox/plugins). This will work the same for /usr/lib/mozilla/plugins. 
Standing in the plugins directory of your browser make a symbolic link to the java plugin by typing as 1 
command (as root)
ln *s /usr/local/programs/java/jdk1.5.0_06/jre/plugin/
i386/ns7/libjavaplugin_oji.so
And get this
Code:
deb:/home/cab# cd /usr/lib/mozilla-firefox/plugins
deb:/usr/lib/mozilla-firefox/plugins# ln s /usr/lib/jvm/java-1.5.0-sun/jre/plugin/i386/ns7-gc/libjavaplugin_oji.so
ln: accessing `s': No such file or directory
deb:/usr/lib/mozilla-firefox/plugins#
I do have a libjavaplugin.so in the plugins folder..
 
Old 02-26-2007, 03:14 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Java 1.5 for 64-bit does not have any jre support, many (I do) use a 32-bit browser and the 32-bit jre for instead.

$ rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" firefox jre
firefox-2.0.0.2-1.fc6.remi.i386.rpm
jre-1.6.0-fcs.i586.rpm

$ uname -a
Linux Aspire5000 2.6.21-rc1-git1 #1 Sun Feb 25 09:53:21 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
[
 
Old 02-26-2007, 06:30 PM   #7
karyoker
LQ Newbie
 
Registered: Feb 2007
Distribution: Etch 2.6.18-3-686
Posts: 26

Original Poster
Rep: Reputation: 15
Ok Thanks lenard you put me in the right direction In this I had to
Code:
ln -s /usr/lib/jvm/java-1.5.0-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/libjavaplugin_oji.so
Now I can type in aboutlugins in the url box and get these rsults
Code:
Installed plug-ins
Find more information about browser plug-ins at mozilla.org.
Help for installing plug-ins is available from plugindoc.mozdev.org.
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible

    File name: nphelix.so
    Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.622 built with gcc 3.2.0 on Jul 18 2006

MIME Type 	Description 	Suffixes 	Enabled
audio/x-pn-realaudio-plugin 	RealPlayer Plugin Metafile 	rpm 	Yes
Shockwave Flash

    File name: libflashplayer.so
    Shockwave Flash 9.0 r31

MIME Type 	Description 	Suffixes 	Enabled
application/x-shockwave-flash 	Shockwave Flash 	swf 	Yes
application/futuresplash 	FutureSplash Player 	spl 	Yes
Adobe Reader 7.0

    File name: nppdf.so
    The Adobe Reader plugin is used to enable viewing of PDF and FDF files from within the browser.

MIME Type 	Description 	Suffixes 	Enabled
application/pdf 	Portable Document Format 	pdf 	Yes
application/vnd.fdf 	Acrobat Forms Data Format 	fdf 	Yes
application/vnd.adobe.xfdf 	XML Version of Acrobat Forms Data Format 	xfdf 	Yes
application/vnd.adobe.xdp+xml 	Acrobat XML Data Package 	xdp 	Yes
application/vnd.adobe.xfd+xml 	Adobe FormFlow99 Data File 	xfd 	Yes
Java(TM) Plug-in 1.5.0_10-b03

    File name: libjavaplugin_oji.so
    Java(TM) Plug-in 1.5.0_10

MIME Type 	Description 	Suffixes 	Enabled
application/x-java-vm 	Java 		Yes
application/x-java-applet 	Java 		Yes
application/x-java-applet;version=1.1 	Java 		Yes
application/x-java-applet;version=1.1.1 	Java 		Yes
application/x-java-applet;version=1.1.2 	Java 		Yes
application/x-java-applet;version=1.1.3 	Java 		Yes
application/x-java-applet;version=1.2 	Java 		Yes
application/x-java-applet;version=1.2.1 	Java 		Yes
application/x-java-applet;version=1.2.2 	Java 		Yes
application/x-java-applet;version=1.3 	Java 		Yes
application/x-java-applet;version=1.3.1 	Java 		Yes
application/x-java-applet;version=1.4 	Java 		Yes
application/x-java-applet;version=1.4.1 	Java 		Yes
application/x-java-applet;version=1.4.2 	Java 		Yes
application/x-java-applet;version=1.5 	Java 		Yes
application/x-java-applet;jpi-version=1.5.0_10 	Java 		Yes
application/x-java-bean 	Java 		Yes
application/x-java-bean;version=1.1 	Java 		Yes
application/x-java-bean;version=1.1.1 	Java 		Yes
application/x-java-bean;version=1.1.2 	Java 		Yes
application/x-java-bean;version=1.1.3 	Java 		Yes
application/x-java-bean;version=1.2 	Java 		Yes
application/x-java-bean;version=1.2.1 	Java 		Yes
application/x-java-bean;version=1.2.2 	Java 		Yes
application/x-java-bean;version=1.3 	Java 		Yes
application/x-java-bean;version=1.3.1 	Java 		Yes
application/x-java-bean;version=1.4 	Java 		Yes
application/x-java-bean;version=1.4.1 	Java 		Yes
application/x-java-bean;version=1.4.2 	Java 		Yes
application/x-java-bean;version=1.5 	Java 		Yes
application/x-java-bean;jpi-version=1.5.0_10 	Java 		Yes
Finally...
 
  


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 Run Time Environment. leonardo38 Linux - Software 3 05-12-2006 10:17 AM
Can two versions of Java JRE run at the same time? White Spiral SUSE / openSUSE 4 04-24-2005 01:24 PM
mozilla & java run time environment(applet) shivaligupta Linux - Software 0 02-23-2005 09:28 AM
Howto run a java-applet in Mozilla? Schmurff Linux - Software 10 03-31-2004 02:40 PM
Mozilla/Netscape won't run while Java installed snatale1 Linux - Newbie 4 09-17-2003 10:07 PM

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

All times are GMT -5. The time now is 08:07 AM.

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