diff options
-rwxr-xr-x | l10ntools/java/jpropex/jpropex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/l10ntools/java/jpropex/jpropex b/l10ntools/java/jpropex/jpropex index 796b44e749e7..8c9982f2b1d3 100755 --- a/l10ntools/java/jpropex/jpropex +++ b/l10ntools/java/jpropex/jpropex @@ -3,4 +3,10 @@ if [ x${SOLARENV}x = xx ]; then 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 "$@" |