LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-19-2007, 11:37 PM   #1
coasterfreak212
Member
 
Registered: Mar 2004
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54

Rep: Reputation: Disabled
Java 5->6 Help!


Okay, I havn't posted in a while, but I need help. I installed java 1.5 on ubuntu and it worked. Apps worked like limewire and stuff. I upgraded to 1.6 and all of a sudden that apps don't work. I perform java -version and it reports that I'm back to the default 1.4.2! I have tried uninstalling 1.5 and 1.6, but that doesn't work. tried reinstalling, that doesn't work. I can't get my limewire working, and other apps that do work under 1.4.2 like openoffice they are extremely low. Anybody find a solution or have the same prob?
 
Old 02-21-2007, 08:58 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,375

Rep: Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937Reputation: 937
I think the problem is the java apps are not finding your java install. I added a symlink in /usr/bin called java pointing to the java installation. Here is what it looks like.

Code:
cd /usr/bin/
root /usr/bin 09:53:37 > file java
java: symbolic link to `/usr/java/jre1.5.0_06/bin/java'
The path you installed java in is most likely different to mine. Just make a symlink /usr/bin/java pointing to your java install. Try it again...
 
Old 02-21-2007, 07:40 PM   #3
coasterfreak212
Member
 
Registered: Mar 2004
Distribution: Knoppix, Kubuntu, Gnoppix, Slax, Windows 98 & XP
Posts: 54

Original Poster
Rep: Reputation: Disabled
Yes, I found the solution. Thanks, but your advice didn't work. The new java has different foldernames, and I didn't know where the hell everything was. So I used this http://ubuntuforums.org/showthread.php?t=346938 .
Now I got 1.6.0 (ver6)! Great!
 
  


Reply


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
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
LXer: Java Look-Alike Project Pushed Sun To Make Java Open Source LXer Syndicated Linux News 0 11-15-2006 03:54 AM
LXer: Java news met with cautious optimism in free Java community LXer Syndicated Linux News 0 11-14-2006 10:21 PM
Firefox refuses to load Java jnlp files - plugin and java ok Melsync Linux - Software 1 06-25-2006 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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