| Author |
Message |
michelangelog
|
|
Post subject: Oracle Java for android development
Posted: 15.03.2012, 09:01
|
|

Joined: 2010-09-15
Posts: 1
Status: Offline
|
|
| I see only openjdk on packages. How i can install oracle / sun jdk? i need for android development. thx |
|
|
| |
|
|
|
 |
DonKult
|
|
Post subject: RE: Oracle Java for android development
Posted: 15.03.2012, 10:53
|
|
Team Member

Joined: 2010-09-02
Posts: 416
Status: Offline
|
|
Oracle changed the license for her Java implementation which doesn't allow distribution anymore. So debian isn't allowed anymore to provide packages for it - even in non-free. (The same is true for all other distributions - just in case)
See for a "workaround", but make sure to bash Google really really hard if they still insist on sun-java6 as this just doesn't scale anymore… (if we assume good faith, Oracle changed license also to softly force the adoption of openjdk7 …)
http://sylvestre.ledru.info/blog/sylves ... _sun_java6 |
_________________ MfG. DonKult
"I never make stupid mistakes. Only very, very clever ones." ~ The Doctor
|
| |
|
|
|
 |
DeepDayze
|
|
Post subject: RE: Oracle Java for android development
Posted: 15.03.2012, 15:11
|
|

Joined: 2010-09-11
Posts: 609
Location: USA
Status: Offline
|
|
| From that blog entry it is stated that java-package been resurrected in the Debian archives now as a workaround for those who need the nonfree Oracle Java. |
|
|
| |
|
|
|
 |
piper
|
|
Post subject: Re: Oracle Java for android development
Posted: 17.03.2012, 14:20
|
|
Moderator

Joined: 2010-09-11
Posts: 467
Location: cheektowaga, ny
Status: Offline
|
|
|
michelangelog wrote:
I see only openjdk on packages. How i can install oracle / sun jdk? i need for android development. thx
The way I build CM7 and CM9 is taken from here
Building Mantera’s Source for Motorola Triumph |
_________________ debian sid | apt-get into it
|
| |
|
|
|
 |
detaos
|
|
Post subject: RE: Re: Oracle Java for android development
Posted: 19.03.2012, 03:10
|
|
Team Member

Joined: 2010-08-26
Posts: 165
Location: floating in the ether
Status: Offline
|
|
| I use openjdk7 for android development. There is no need to hunt out Oracle's Java. |
_________________ #aptosid-art ftw!
(what would cleary do?)
|
| |
|
|
|
 |
piper
|
|
Post subject: Re: RE: Re: Oracle Java for android development
Posted: 24.03.2012, 13:56
|
|
Moderator

Joined: 2010-09-11
Posts: 467
Location: cheektowaga, ny
Status: Offline
|
|
|
detaos wrote:
I use openjdk7 for android development. There is no need to hunt out Oracle's Java.
Depending on what your building (true AOSP, CyanogenMod, etc ) a lot of things will not build with openjdk7 period. (especially building the operating system itself) |
_________________ debian sid | apt-get into it
|
| |
|
|
|
 |
|
|