Commits

Anonymous committed ea240b2

#i10000# JAVA_HOME check restored

Comments (0)

Files changed (1)

l10ntools/java/jpropex/jpropex

     echo No environment found, please use 'configure' or 'setsolar'
     exit 1
 fi
+
+if [ x${JAVA_HOME}x = xx ]; then
+    echo ERROR: No java found 
+    exit 1
+fi
+
 exec java -DSOLARSRC=${SOLARSRC} -DWORK_STAMP=${WORK_STAMP} -DUSE_SHELL=  -jar ${SOLARVER}/${INPATH}/bin${UPDMINOREXT}/jpropex.jar "$@"