--- ./jdk/src/java.base/unix/native/libjli/java_md_solinux.c	2017-03-30 20:45:48.000000000 +0530
+++ ../java_md_solinux.c	2017-03-31 09:15:07.979651293 +0530
@@ -163,7 +163,7 @@
  */
 
 #ifdef __ANDROID__
-static char * __java_home = NULL;
+static char * __java_home = "@TERMUX_PREFIX@/lib/jvm/openjdk-9";
 #endif
 
 void SetJavaHome(char *arg) {
