[Q] java5 ~ ubuntu 10.10

Search This thread

ldrifta

Senior Member
Mar 15, 2011
1,390
187
32
Lynn, Mass
ok, so here's the thing... i been up allll night followed like 20 different guides and im at the point where im going to break every electronic device in the house!! lol im trying to build a froyo rom from source! and many people have helped in the proccess lol but i cant seem to figure out how to get java5 and sdk on my friggin ubuntu... i have it installed as the main OS, it not on a vm!!! can somebody pleeeeeease help me get this working?? everytime i try i keep getting errors saying things dont exist and many other errors.... how the heck do i get java5 and sdk on ubuntu 10.10 64-bit? please somebody help!!!
 

ezterry

Retired Recognized Developer
Jan 16, 2010
1,829
968
Asheville, NC
ok, so here's the thing... i been up allll night followed like 20 different guides and im at the point where im going to break every electronic device in the house!! lol im trying to build a froyo rom from source! and many people have helped in the proccess lol but i cant seem to figure out how to get java5 and sdk on my friggin ubuntu... i have it installed as the main OS, it not on a vm!!! can somebody pleeeeeease help me get this working?? everytime i try i keep getting errors saying things dont exist and many other errors.... how the heck do i get java5 and sdk on ubuntu 10.10 64-bit? please somebody help!!!

Google shows: http://tech.ruimaninfo.com/?p=43
(after a link back to this post)

I use debian not ubuntu but the idea is install the java5 package from the older version (keeping your java6 package) then use the alternatives command to switch between them.

If you primarily use java6 and don't want to be constantly switching the alternatives you can always in part of your build setup (just before running '. build/envsetup' add the java6 bin directory to the beginning of your path. (That or take a moment to allow java6 to work with froyo.. I'm not sure exactly what needs to happen but it ought not be that bad [edit: seems the same person has some instructions for java6: http://tech.ruimaninfo.com/?p=49 ])
 
  • Like
Reactions: ldrifta

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    ok, so here's the thing... i been up allll night followed like 20 different guides and im at the point where im going to break every electronic device in the house!! lol im trying to build a froyo rom from source! and many people have helped in the proccess lol but i cant seem to figure out how to get java5 and sdk on my friggin ubuntu... i have it installed as the main OS, it not on a vm!!! can somebody pleeeeeease help me get this working?? everytime i try i keep getting errors saying things dont exist and many other errors.... how the heck do i get java5 and sdk on ubuntu 10.10 64-bit? please somebody help!!!

    Google shows: http://tech.ruimaninfo.com/?p=43
    (after a link back to this post)

    I use debian not ubuntu but the idea is install the java5 package from the older version (keeping your java6 package) then use the alternatives command to switch between them.

    If you primarily use java6 and don't want to be constantly switching the alternatives you can always in part of your build setup (just before running '. build/envsetup' add the java6 bin directory to the beginning of your path. (That or take a moment to allow java6 to work with froyo.. I'm not sure exactly what needs to happen but it ought not be that bad [edit: seems the same person has some instructions for java6: http://tech.ruimaninfo.com/?p=49 ])
    1
    i posted the steps to install it for ubuntu 11.04 @ grp already if u havent seen it
    http://greenromproject.com/showthread.php?294-java-jre-jdk-1.5-on-ubuntu-11.04&p=2538#post2538
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone