LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 08-20-2006, 05:58 PM   #1
Clarence27
Member
 
Registered: Jun 2006
Location: Australia, South Australia
Distribution: MX14.4
Posts: 102

Rep: Reputation: 15
java in ubuntu


Ive just about come to the end of my tether or however u spell it with linux ubuntu. I have used Synaptic to install every little bit of java there is and it still wont work! I am using firefox, i load up a java page and it says im still missing the plugin:@. The console says:
XML Parsing Error: no element found
Location: jar:resource:///chrome/toolkit.jar!/content/mozapps/update/updates.xml
Line Number 1, Column 1:

Any ideas?
 
Old 08-20-2006, 06:16 PM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Solus
Posts: 2,254

Rep: Reputation: 47
Ok, try copying the java plugin from whatever folder it is installed in, probably mozilla/plugins to firefox/plugins
 
Old 08-20-2006, 06:18 PM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Most likely, you are not using Sun's Java, but ratter a gcj replacement for it. Follow this link to get Sun's Java installed:

http://ubuntuguide.org/wiki/Dapper#H...ozilla_Firefox

I hate the fact that most Linux distros are shipping with an alternative JRE, because it clearly does not work for anyone :S

Best of luck!
 
Old 08-21-2006, 10:39 PM   #4
Clarence27
Member
 
Registered: Jun 2006
Location: Australia, South Australia
Distribution: MX14.4
Posts: 102

Original Poster
Rep: Reputation: 15
Ok i have uncommented the lines and stuff like that and updated the apt thingo and i still get the stupid message saying E: Couldn't find package sun-java5-jre.

i typed:
sudo apt-get install sun-java5-jre sun-java5-plugin
 
Old 08-22-2006, 03:27 AM   #5
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
Visit the following link:

http://www.java.com/en/download/linux_manual.jsp

1) Download the version of java from the Self Extracting file link for Linux.

2) Click on the instructions link beside it and follow the instructions.

The instructions given on the above website work, I use those instructions all the time when I am setting up JRE for people on their Linux computers.

I am aslo using Ubuntu and it all works fine, so don't get disheartened. It is not the fault of Ubuntu, you are just going about the Java thing the wrong way.
 
Old 09-04-2006, 03:33 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...d.php?t=474172
 
  


Closed Thread


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
Ubuntu Opera Java biojayc Linux - Software 4 09-29-2011 04:54 PM
ubuntu java Clarence27 Ubuntu 5 02-12-2007 07:34 AM
ubuntu java issue kristof_v Linux - Software 4 04-29-2006 07:15 PM
Firefox and Java in Ubuntu jmill_1 Linux - Software 1 01-12-2006 12:44 PM
How to Add Java to Ubuntu 5.04 Rory in Toronto Ubuntu 1 04-10-2005 03:27 AM


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