tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Rossbach ...@objektpark.de>
Subject Re: svn commit: r585313 - /tomcat/tc6.0.x/trunk/STATUS
Date Wed, 17 Oct 2007 11:36:45 GMT
+1 for that env variable,
but also autodetection must be implemented

Peter



Am 17.10.2007 um 13:28 schrieb Tim Funk:

> 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.
>
> -Tim
>
> Rémy Maucherat wrote:
>> On Wed, 2007-10-17 at 05:47 +0200, Peter Rossbach wrote:
>>> Hi Remy,
>>>
>>> I think the patch is incomplete
>>>
>>> this line seem not correct:
>>>
>>> +    else
>>> +      JRE_HOME=/usr
>>> +    fi
>>>
>>> better
>>> +    else
>>> +      JRE_HOME=/usr/bin/java
>>> +    fi
>> The path to the Java executable is $JRE_HOME/bin/java, so /usr is the
>> correct value. However, on older distributions (just tested with  
>> my F7),
>> it will also pick up gij if it is installed (it does not really  
>> work).
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message