LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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


Reply
  Search this Thread
Old 07-09-2010, 09:28 AM   #16
folone
LQ Newbie
 
Registered: Jul 2010
Posts: 21

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by prdeltoid View Post
Using apt-get will not give you a make error. You're not installing from source. That one still remains? I asked you what that one is even about. If you're not compiling something, you would not get a make error. What are you compiling? What caused the make error in your other thread?
I'm running $make after downloading sources from repo in accordance with tutorial. Here's where make error appears.
 
Old 07-09-2010, 09:30 AM   #17
folone
LQ Newbie
 
Registered: Jul 2010
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by prdeltoid View Post
What version of Ubuntu are you using? Where did you come up with the idea of installing the Java 5 SDK? What does Android have to do with installing Java on Ubuntu?
Ubuntu 10.04. On the tutorial. It has java SDK, so..
 
Old 07-09-2010, 09:38 AM   #18
pr_deltoid
Member
 
Registered: Jun 2010
Distribution: Fedora
Posts: 289

Rep: Reputation: 41
EDITED

The newest versions of Ubuntu don't have it in their repositories. I just saw googling that Dapper had it.
EDIT: Or just download it from another repository. I'm not sure exactly how to do it. It's probably online in a repository and you can just download it from FTP or whatever.

EDITED

Last edited by pr_deltoid; 07-09-2010 at 09:54 AM.
 
Old 07-09-2010, 09:43 AM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,565

Rep: Reputation: 3257Reputation: 3257Reputation: 3257Reputation: 3257Reputation: 3257Reputation: 3257Reputation: 3257Reputation: 3257Reputation: 3257Reputation: 3257Reputation: 3257
Ubuntu 9.10 has sun-java6-jre, sun-java5-jre (+jdk) included, and :

http://ubuntuforums.org/showthread.php?t=1486951
After install, check that it is configured :
'sudo update-alternatives --config java'
... and choose sun.
...

Last edited by knudfl; 07-09-2010 at 09:48 AM.
 
Old 07-09-2010, 09:46 AM   #20
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by prdeltoid View Post
enable the partner repositories from System->Administration->Software Sources
Would that also provide access to java5-jdk ?

Quote:
and then run
Code:
sudo apt-get install sun-java6-jdk
Notice in the Android instructions it says:
Quote:
JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override.
The quoted problem in the make process is a failure to find ClearSilver. I don't know what ClearSilver even is. I don't see what in the Android instructions was even supposed to install ClearSilver. There are a wide range of google hits on a search for ClearSilver failures in making Android, but none of them seem to be a clear fit for folone's situation.

Some of those imply ClearSilver was properly installed and you only need to fix LD_LIBRARY_PATH to make it available. But there weren't clear enough instructions for actually doing it.

Anyway, this ClearSilver problem does not clearly imply there is even anything wrong with the way the JDK is installed on folone's system.

Last edited by johnsfine; 07-09-2010 at 09:48 AM.
 
Old 07-09-2010, 09:48 AM   #21
pr_deltoid
Member
 
Registered: Jun 2010
Distribution: Fedora
Posts: 289

Rep: Reputation: 41
Here:
http://packages.ubuntu.com/
Specifically:
http://packages.ubuntu.com/dapper/devel/sun-java5-jdk
Does that help?
EDITED***

Last edited by pr_deltoid; 07-09-2010 at 09:57 AM.
 
Old 07-09-2010, 09:58 AM   #22
pr_deltoid
Member
 
Registered: Jun 2010
Distribution: Fedora
Posts: 289

Rep: Reputation: 41
I just edited my last post a lot, ignore what was there before...
----------
When I first saw your questions, I thought it was a simpler problem. I dont' see that you can do anything but download the source... Maybe someone else will know more about it.

Last edited by pr_deltoid; 07-09-2010 at 10:03 AM.
 
Old 07-09-2010, 10:05 AM   #23
folone
LQ Newbie
 
Registered: Jul 2010
Posts: 21

Original Poster
Rep: Reputation: Disabled
I added Jaunty repos, and installed sun-java5-sdk package. But the error remained.
I think, I should read about that ClearSilver thing.
Thanks for your help anyway.
 
Old 07-12-2010, 02:41 AM   #24
folone
LQ Newbie
 
Registered: Jul 2010
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by folone View Post
I added Jaunty repos, and installed sun-java5-sdk package. But the error remained.
I think, I should read about that ClearSilver thing.
Thanks for your help anyway.
Actually, I was wrong. I forgot to change the default jdk to the sun-jdk5. I did that, and left it compiling for the weekend. And now it seems that it compiled succesfully. Thanks a lot, guys!
 
  


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
compile problem rania kamal Linux - Software 2 09-28-2008 01:10 PM
Compile Problem! firedude Linux - Software 3 03-14-2007 01:10 PM
Compile problem wmoti Programming 5 11-08-2005 07:23 AM
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM
Problem with compile noeffort Linux - Software 2 02-29-2004 01:02 PM


All times are GMT -5. The time now is 01:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration