Apache OpenOffice (AOO) Bugzilla – Attachment #4956: Honor the user's path before using the standard system wide locations. for issue #8181
$ps.'$SOLARENV'.$ds.'$OUTPATH'.$BIN.
$ps.'$SOLARENV'.$BIN;
$PATH .= $ps.$oldPATH;
if ( $JAVA_HOME ne "" )
{
$PATH .= $ps.'$JAVA_HOME'.$BIN;
$PATH .= GetCorrectPath($COMPATH.$BIN, $PERL_PATH, $TCSH_PATH, $compiler);
}
elsif ($platform eq "$Winnt")