Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


Closed Thread
  Search this Thread
Old 08-20-2006, 04:58 PM   #1
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, 05:16 PM   #2
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
Ok, try copying the java plugin from whatever folder it is installed in, probably mozilla/plugins to firefox/plugins
Old 08-20-2006, 05: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:

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, 09:39 PM   #4
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, 02:27 AM   #5
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:

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, 02:33 PM   #6
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
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.

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

All times are GMT -5. The time now is 09:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration