Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Move fake-jdk-tools here
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwu committed May 4, 2012
1 parent df8e642 commit 05c4dd7
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
11 changes: 1 addition & 10 deletions envsetup.sh
Expand Up @@ -1040,16 +1040,7 @@ function godir () {


# Force JAVA_HOME to point to java 1.6 if it isn't already set # Force JAVA_HOME to point to java 1.6 if it isn't already set
function set_java_home() { function set_java_home() {
if [ ! "$JAVA_HOME" ]; then export JAVA_HOME="$(gettop)/build/fake-jdk-tools"
case `uname -s` in
Darwin)
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
;;
*)
export JAVA_HOME=/usr/lib/jvm/java-6-sun
;;
esac
fi
} }


if [ "x$SHELL" != "x/bin/bash" ]; then if [ "x$SHELL" != "x/bin/bash" ]; then
Expand Down
1 change: 1 addition & 0 deletions fake-jdk-tools/bin/jar
@@ -0,0 +1 @@
echo "Fake java 1.6.0 revisiion"
1 change: 1 addition & 0 deletions fake-jdk-tools/bin/java
@@ -0,0 +1 @@
echo "Fake java 1.6.0 revisiion"
1 change: 1 addition & 0 deletions fake-jdk-tools/bin/javac
@@ -0,0 +1 @@
echo "Fake javac 1.6.0 revision"
1 change: 1 addition & 0 deletions fake-jdk-tools/jar
@@ -0,0 +1 @@
echo "fake jar"
Empty file added fake-jdk-tools/lib/tools.jar
Empty file.

0 comments on commit 05c4dd7

Please sign in to comment.