Re: How to install sun-java5-jdk in debian testing?

2010-03-21 Thread Boyd Stephen Smith Jr.
On Wednesday 17 March 2010 04:38:41 Liam O'Toole wrote:
> On 2010-03-17, Jianhua Shao  wrote:
> > I run debian testing in my box, which means, all update source in
> > source.list are from 'testing'
> > distribution. I want to compile Android manually, which needs
> > sun-java5-jdk, but there is no such
> > package in 'testing' distribution, only sun-java6-jdk is out there.
> > Maybe, I could add a 'stable' line in source.list to install that
> > package from 'stable' distribution. But I
> > wander is it a right way to install sun-java5-jdk using apt tools?
> > What is the best way to handle such problem?

I suggest installing the .deb from stable.  If the dependencies aren't 
satisfiable, a rebuild is probably the most supported option.  I run a mixed 
stable/backports/testing/etc. system, and it works for me; it would be fast, 
but it's not something that's supported.

> Java 6 should be backward-compatible with its predecessor. Have you
> tried to compile Android with it?

The android build system has a number of checks which automatically bail if 
something other than sun-java5-jdk is used -- Sun's Java 6 included.

While I was previously able to bypass these checks by editing some of the 
build system, ISTR that Sun's Java 6 would not compile the unmodified Android 
code from Repo/Git.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: How to install sun-java5-jdk in debian testing?

2010-03-17 Thread Ron Johnson

On 2010-03-17 05:41, Mihamina Rakotomandimby wrote:

Ron Johnson  :
Go directly to upstream?


Why? dpkg (or any other packaging tool) is just no worth?



I don't like mixed Stable/Testing systems: too much conflict.

And building a JDK from source just takes too long.

--
Obsession with "preserving cultural heritage" is a racist impediment
to moral, physical and intellectual progress.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ba0b46b.60...@cox.net



Re: How to install sun-java5-jdk in debian testing?

2010-03-17 Thread Mihamina Rakotomandimby
> Ron Johnson  :
> Go directly to upstream?

Why? dpkg (or any other packaging tool) is just no worth?

-- 
   Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 29 155 34 / +261 33 11 207 36


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100317134134.58775...@pbmiha.malagasy.com



Re: How to install sun-java5-jdk in debian testing?

2010-03-17 Thread Liam O'Toole
On 2010-03-17, Jianhua Shao  wrote:
> I run debian testing in my box, which means, all update source in
> source.list are from 'testing'
> distribution. I want to compile Android manually, which needs
> sun-java5-jdk, but there is no such
> package in 'testing' distribution, only sun-java6-jdk is out there.
> Maybe, I could add a 'stable' line in source.list to install that
> package from 'stable' distribution. But I
> wander is it a right way to install sun-java5-jdk using apt tools?
> What is the best way to handle such problem?

Java 6 should be backward-compatible with its predecessor. Have you
tried to compile Android with it?

-- 
Liam O'Toole
Birmingham, United Kingdom



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnhq18p1.4kh.liam.p.oto...@dipsy.selfip.org



Re: How to install sun-java5-jdk in debian testing?

2010-03-17 Thread Ron Johnson

On 2010-03-17 03:57, Jianhua Shao wrote:

I run debian testing in my box, which means, all update source in
source.list are from 'testing'
distribution. I want to compile Android manually, which needs
sun-java5-jdk, but there is no such
package in 'testing' distribution, only sun-java6-jdk is out there.
Maybe, I could add a 'stable' line in source.list to install that
package from 'stable' distribution. But I
wander is it a right way to install sun-java5-jdk using apt tools?
What is the best way to handle such problem?



Go directly to upstream?

--
Obsession with "preserving cultural heritage" is a racist impediment
to moral, physical and intellectual progress.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ba0a2f5.9060...@cox.net



Re: How to install sun-java5-jdk in debian testing?

2010-03-17 Thread Mihamina Rakotomandimby
> Jianhua Shao  :
> What is the best way to handle such problem?

- get the package source from a "stable" repository
- rebuild it on your target "testing" box

Soem help:
http://www.google.com/search?q=debian+rebuild+package

-- 
   Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 29 155 34 / +261 33 11 207 36


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100317123135.30ced...@pbmiha.malagasy.com