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 01-30-2008, 12:39 AM   #1
JimmyJamz
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
Firefox & Java issues


I just installed FC8 on a second partition on my desktop and it came with the 1.7.0 Iced Tea version of Java pre-installed... I ended up going to Java.com and downloading the new 1.6 JRE and installed it line for line from the websites instructions.

Now my issue is the fact that my school runs Cisco Clean Access which I need to log into via Firefox which it uses a Java applet...

With Iced Tea it isn't working hence the reason for me to download the JRE 1.6 from java.com. I installed the 1.6 JRE from Java.com using the instructions given from the website.

I then tried to remove IcedTea 1.7.0 using Yum but since I don't have the internet (since I can't log into Cisco Clean Access), it can't go into the repository and ultimately remove IcedTea.

Is there any way around this so I can get the selected java to use the JRE 1.6 instead of IcedTea 1.7.0?

Please let me know,
Thanks in advance
 
Old 01-30-2008, 01:07 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Hello and welcome to LQ.

You could check in /usr/lib/firefox/plugins and /usr/lib/mozilla/plugins directories for a symlink to Iced Tea Java plugin and replace that symlink to 1.6 version.
 
Old 01-30-2008, 02:52 AM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You will also make sure the JAVA directory, JAVA Class, and JAVA Library environment variable is set.
 
Old 01-30-2008, 12:23 PM   #4
JimmyJamz
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Electro View Post
You will also make sure the JAVA directory, JAVA Class, and JAVA Library environment variable is set.
How exactly do I check to see if the JAVA directory, class and environment is set? I'm not sure if this has anything to do with it but I know currently when I type java -version in the terminal it comes up as being set to Iced tea...
 
Old 01-30-2008, 12:26 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
echo $JAVA_HOME for the first

or

env | grep -i java
 
Old 01-30-2008, 12:38 PM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
You need to be root in order to echo $JAVA_HOME. And bear in mind that the plug-in still does not work with 64 browsers.

In order to switch java, you'd have to use update-alternatives. There is also a GUI available that can help in doing this (galternatives).
 
Old 01-30-2008, 04:00 PM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Quote:
Originally Posted by jay73 View Post
You need to be root in order to echo $JAVA_HOME. And bear in mind that the plug-in still does not work with 64 browsers.
That is not true. Any user can echo and change environment variables, but they can only change what is theirs. Also JAVA could be re-compile for 64-bit or download the 64-bit pre-compiled version of JAVA.
 
Old 01-30-2008, 05:26 PM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
That may be how it works on Gentoo but there are quite a few other distros that will nothing but a blank line if your JAVA_HOME isn't set in your home directory. And recompiling a jdk or a jre isn't a problem but if it really were that simple to get a functional 64 bit plug-in, why isn't one there one available yet? People have been requesting one from Sun for ages.

Last edited by jay73; 01-30-2008 at 05:33 PM.
 
Old 01-31-2008, 05:25 AM   #9
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Quote:
Originally Posted by jay73 View Post
That may be how it works on Gentoo but there are quite a few other distros that will nothing but a blank line if your JAVA_HOME isn't set in your home directory. And recompiling a jdk or a jre isn't a problem but if it really were that simple to get a functional 64 bit plug-in, why isn't one there one available yet? People have been requesting one from Sun for ages.
I care less about 64-bit programs unless I am dealing with multimedia. Running a 32-bit Java bytecode on a 64-bit JAVA VM can have a lot of memory and IO conversion problems. Probably a wrapper or two separate modes have to be setup in the 64-bit JAVA VM. Also have you seen a 64-bit Flash player from Adobe.

Not all maintainers do it right. An RPM and DEB file does not have strict rules of doing things. RPM files are the worst and you have to depend on the maintainer to do it correctly. They may not change the main file that sets the environment globally. Gentoo uses a utility named eselect to ease selection of different JAVA and JAVA plug-in installs.
 
  


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
Firefox & java compu73rg33k Linux - Software 15 06-26-2007 02:20 PM
Quicktime & Java in Firefox. pingu-x Ubuntu 2 01-16-2007 08:27 AM
Firefox&Java Issue jimmydgeek DamnSmallLinux 3 11-19-2005 08:10 PM
Java & Firefox Linux~Powered Linux - Software 14 04-02-2004 06:41 PM
Firefox & Java oneandoneis2 Linux - Software 12 02-19-2004 12:05 PM

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

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