where to get sun-java5-jdk, and java incompatibilities
Robert P. J. Day
rpjday at crashcourse.ca
Tue May 25 13:58:48 UTC 2010
quite possibly an android question but i'll start here and move to
the appropriate android ML if it gets ugly.
trying to follow the instructions here:
http://source.android.com/source/download.html
to download and build android on 64-bit ubuntu 10.04, and the
instructions do make it clear that i need java 1.5. that's certainly
true as trying to do the build with openjdk-6-jdk installed whines
that:
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.6.0_18".
The correct version is: 1.5.
Please follow the machine setup instructions at
http://source.android.com/download
************************************************************
ok, ok ... except that the instructions suggesting apt-getting
sun-java5-jdk, which doesn't seem to be in the normal repos (while
sun-java6-jdk is).
so, while i hate regressing in my choice of java, is there a quick
fix i can make to /etc/apt/sources.list to make sun-java5-jdk
available? or, better yet, do i really need to regress based on what
that page warns about -- that java 6 is incompatible with something
called "@Override" (whatever that is).
as a devil-may-care test, i can always just rip out the java version
test from the Makefile and see how far i get before something
explodes. :-)
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
More information about the ubuntu-users
mailing list