diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-08-04 11:52:52 +0200 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-08-04 11:52:52 +0200 |
commit | 36902ea20c93a25f373395a4e5dcb8f3b37b4674 (patch) | |
tree | 6946884e403cb32efd6e26976fd27ff81afa564a /l10ntools/java | |
parent | 87a7151b48af28bc1c8d8f672e57694f27182236 (diff) |
#i10000# JAVA_HOME check restored
Diffstat (limited to 'l10ntools/java')
-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 "$@" |