LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-02-2010, 02:01 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 38
java1.5 installation error ubuntu 10.04 server edition uname 2.6.32-23-server


I am using Ubuntu 10.04 Server edition as a Virtual Machine on one of my system.On KVM.
Code:
uname -a
 2.6.32-23-server #37-Ubuntu SMP Fri Jun 11 09:11:11 UTC 2010 x86_64 GNU/Linux

I needed java 1.5 for some program.So I downloaded it from Oracles website the Linux package for Java 1.5 here

then did
a chmod +x java_ee_sdk-5_01-linux.bin
and tried
Code:
 ./java_ee_sdk-5_01-linux.bin 
-bash: ./java_ee_sdk-5_01-linux.bin: No such file or directory
Googled it tried a link on Ubuntu forums here
the link is solved but it did not helped me much.
Some other forums I got that this problem can be solved by some method like

Code:
ln -s libstdc++.so.6.0.8 libstdc++.so.5
in my case it was libstdc++.so.6 libstdc++.so.6.0.13
so I did

Code:
ln -s /usr/lib/libstdc++.so.6.0.8 /usr/lib/libstdc++.so.5
did a apt-get dist-upgrade rebooted but did not solved my problem.
So what should I do or check now ?
 
Old 07-02-2010, 02:18 AM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
Isn't java 1.6.0_20 backward compatible?
 
Old 07-02-2010, 02:29 AM   #3
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 38
I want to host a Learning Management System known as sakai just as moodle is on PhP Sakai is on Java.
I tried the version 2.7 of Sakai which did not worked.
Gave me more errors which I have not posted here sakai is a Learning Management System and I tried the latest 2.7 on Ubuntu which failed and so I wanted to try the version 2.6 which says it does have problem with Java 1.6 so I want Java 1.5 to be installed on my system check this link http://confluence.sakaiproject.org/d...y+Install+(2.6)

because of which I posted the problem here.

Last edited by tkmsr; 07-02-2010 at 02:32 AM.
 
Old 07-02-2010, 06:01 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Installing java, Ubuntu 10.04

http://ubuntuforums.org/showthread.php?t=1486951
After install, check that it is configured :
'sudo update-alternatives --config java'
... and choose sun.
...
 
Old 07-02-2010, 08:37 AM   #5
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 38
Well I had seen that link before posting the problem and had Java 1.6 working already.
My problem is not Java 1.6 it is Java 1.5 I have to test a Learning management System known as Sakai We are using version 2.6 of it In fact we have to use it.The choice is not in my hands.
Java 1.6 is incompatible with Sakai 2.6 Here is a link
On Sakai page that says what I just mentioned.
Regards

Last edited by tkmsr; 07-02-2010 at 08:38 AM.
 
Old 07-02-2010, 03:55 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Well, then ...

http://zebardast.ir/en/installing-su...-10-and-10-04/
"" Installing Sun JDK 5 on Ubuntu 9.10 and 10.04 ""

If 'java -version' then shows the wrong version :
sudo update-alternatives --config java
.. and choose "sun-java5".
..
 
Old 07-03-2010, 02:20 AM   #7
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 38
Man thanks for this information I will try and post here.Its a weekend here so I am not gonna go to office.
 
  


Reply

Tags
sun java6


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
After installation of Ubuntu 10.4 server edition screen shuts off Lord Hakk Linux - Server 8 05-25-2010 10:18 AM
Setup DNS server on Ubuntu 7.04 Server edition using Bind 9 breezey Linux - Server 2 09-16-2007 03:36 AM
Ubuntu 7.04 server edition, web server kamu8recon Linux - Server 12 05-18-2007 04:27 AM
Ubuntu 6.10/6.06 X Server error during installation Diomedes Tydeus Linux - Newbie 3 01-29-2007 07:01 PM
Can Ubuntu Server Edition configure RAID during installation? b0uncer Ubuntu 0 06-30-2006 03:30 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration