You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by vi...@apache.org on 2012/02/29 23:02:01 UTC
svn commit: r1295305 -
/incubator/accumulo/branches/1.4/src/packages/deb/accumulo-native/postinst
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
-