Rainer Jung wrote: > jean-frederic clere wrote: >> Rémy Maucherat wrote: >>> On Wed, 2007-10-17 at 07:28 -0400, Tim Funk wrote: >>>> There was a request in bugzilla to pass in a new env variable called >>>> JAVA_EXE (or similar). >>>> >>>> Could that be an acceptable alternative? Then it would make the bug >>>> submitter happy since he can symlink my_program_that_i_can_see_in_ps >>>> to java. >>> That would be good too, with autodetection :) >> >> which java + dirname + testing files should do that easily I will make >> tries and propose a patch. > > In the unix world "env" is supposed to be more portable than "which" (5 > cents).
There is often an utility name which: /usr/bin/which instead the buildin which. > > Explicitely set JAVA_*/JRE_* environment variables should have > preference over java binaries found in the PATH. For sure ;-) Cheers Jean-Frederic > > Regards, > > Rainer > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]