Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
michelangelogOffline
Post subject: Oracle Java for android development  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
DonKultOffline
Post subject: RE: Oracle Java for android development  PostPosted: 15.03.2012, 10:53
Team Member


Joined: 2010-09-02
Posts: 480

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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
DeepDayzeOffline
Post subject: RE: Oracle Java for android development  PostPosted: 15.03.2012, 15:11



Joined: 2010-09-11
Posts: 616
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.
 
 View user's profile Send private message  
Reply with quote Back to top
piperOffline
Post subject: Re: Oracle Java for android development  PostPosted: 17.03.2012, 14:20
Moderator


Joined: 2010-09-11
Posts: 480
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
 
 View user's profile Send private message  
Reply with quote Back to top
detaosOffline
Post subject: RE: Re: Oracle Java for android development  PostPosted: 19.03.2012, 03:10
Team Member


Joined: 2010-08-26
Posts: 166
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?)
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
piperOffline
Post subject: Re: RE: Re: Oracle Java for android development  PostPosted: 24.03.2012, 13:56
Moderator


Joined: 2010-09-11
Posts: 480
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
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio