incubator-accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1295305 - /incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst
Date Wed, 29 Feb 2012 22:02:01 GMT
Author: vines
Date: Wed Feb 29 22:02:00 2012
New Revision: 1295305

URL: http://svn.apache.org/viewvc?rev=1295305&view=rev
Log:
Fixes ACCUMULO-435 - more jdk support


Modified:
    incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst

Modified: incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst
URL: http://svn.apache.org/viewvc/incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst?rev=1295305&r1=1295304&r2=1295305&view=diff
==============================================================================
--- incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst (original)
+++ incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst Wed Feb 29 22:02:00
2012
@@ -16,7 +16,11 @@
 # limitations under the License.
 
 # postinst script for Apache Accumulo native libraries
-export JAVA_HOME=/usr/lib/jvm/default-java
+JAVA_HOME=/usr/lib/jvm/default-java
+if [ ! -d $JAVA_HOME ]; then 
+  export JAVA_HOME=/usr/lib/jvm/java-6-openjdk;
+fi
+export JAVA_HOME
+echo $JAVA_HOME
 cd /usr/lib/accumulo/src/server/src/main/c++
 make
-



Mime
View raw message