OSDN Git Service

Make envsetup.sh set JAVA_HOME correctly for java7.
authorNarayan Kamath <narayan@google.com>
Fri, 17 Jan 2014 10:05:25 +0000 (10:05 +0000)
committerNarayan Kamath <narayan@google.com>
Wed, 22 Jan 2014 10:41:08 +0000 (10:41 +0000)
commit9260bba06fa65036e3813787388cee6a4a079019
treeada882f363ad82ead61a71a9791cfcd4025e2c95
parent62043de346dff2d31c58bc8c002699fc74d1351c
Make envsetup.sh set JAVA_HOME correctly for java7.

Note that despite the location of this change, this function
is run only during "lunch" and not during ". build/envsetup.sh"

Also, make it easier to switch back and forth between java6 and 7
on the same session.

bug: 8992787

Change-Id: I56ec0ba8552b46c04204a8b96b9abc0180f7605f
envsetup.sh