Apache OpenOffice (AOO) Bugzilla – Attachment #12454: java fix committed to branch for issue #18132
my @javaBits;
if ( $JAVA_HOME ne "" ) {
@javaBits = ( $ps.'$JAVA_HOME'.$BIN, 'javac' );
@javaBits = ( '$JAVA_HOME'.$BIN, 'javac' );
} else {
@javaBits = ();
}
if (! -x "$path/$cmd") {
AddWarning ("Missing executable $path/$cmd\n");
next;
for $elem (@Path) {