Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. vagrant@precise32:/usr/local/hbase-1.0.3$ echo $JAVA_HOME
  2. /usr/lib/jvm/java-1.7.0-openjdk-i386
  3. vagrant@precise32:/usr/local/hbase-1.0.3$
  4. vagrant@precise32:/usr/local/hbase-1.0.3$
  5. vagrant@precise32:/usr/local/hbase-1.0.3$ echo $PATH
  6. /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-1.7.0-openjdk-i386/bin
  7. vagrant@precise32:/usr/local/hbase-1.0.3$
  8. vagrant@precise32:/usr/local/hbase-1.0.3$
  9. vagrant@precise32:/usr/local/hbase-1.0.3$
  10. vagrant@precise32:/usr/local/hbase-1.0.3$ sudo ./bin/start-hbase.sh
  11. +======================================================================+
  12. | Error: JAVA_HOME is not set |
  13. +----------------------------------------------------------------------+
  14. | Please download the latest Sun JDK from the Sun Java web site |
  15. | > http://www.oracle.com/technetwork/java/javase/downloads |
  16. | |
  17. | HBase requires Java 1.7 or later. |
  18. +======================================================================+
  19. vagrant@precise32:/usr/local/hbase-1.0.3$ java -version
  20. java version "1.7.0_95"
  21. OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.12.04.1)
  22. OpenJDK Client VM (build 24.95-b01, mixed mode, sharing)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement