[ONOS-6638] Fix Java version on onos.cshrc
Change-Id: I4fbb3e7c1277e65e2111065516fbfd235dce5539
diff --git a/tools/dev/onos.cshrc b/tools/dev/onos.cshrc
index 785509d..f278801 100644
--- a/tools/dev/onos.cshrc
+++ b/tools/dev/onos.cshrc
@@ -19,8 +19,8 @@
setenv JAVA_HOME `/usr/libexec/java_home -v 1.8`
else if ( -d /usr/lib/jvm/java-8-oracle ) then
setenv JAVA_HOME /usr/lib/jvm/java-8-oracle
- else if ( -d /usr/lib/jvm/java-7-openjdk-amd64 ) then
- setenv JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64
+ else if ( -d /usr/lib/jvm/java-8-openjdk-amd64 ) then
+ setenv JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
endif
endif
if ( ! $?MAVEN ) then