Bugzilla – Bug 3355
$JAVA_HOME/bin/java vs [[PATH]] java
Last modified: 2005-08-31 11:31:15
You need to log in before you can comment on or make changes to this bug.
Something appears to have changed recently with post-install? The postinstaller now insists on a java in my PATH instead of using the one in $JAVA_HOME/bin. Yes, my PATH was "mis-set" lacking the java (because it was a cron job), but my JAVA_HOME was set. Why doesn't it use the one from JAVA_HOME in the absence of a java in the PATH?
Created an attachment (id=611) [details] log file from automatic make This shows that in the "make install" step it died on missing java. It did not have any such problem during the "make" itself, though.
It looks like the trouble is in the GRAM setup script, not in the postinstall itself. It's a feature of ant that it looks in JAVA_HOME/bin in addition to the path, not of the installer itself.
I made the change to that if java is not found in the PATH, but JAVA_HOME is set, then append JAVA_HOME/bin to the PATH. This should solve the problem.