[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Java wrappers and java-common



2007/12/29, Michael Koch <konqueror@gmx.de>:
> On Fri, Dec 28, 2007 at 02:08:33AM +0100, Vincent Fourmond wrote:

Hello Vincent,

Thanks for your suggestion.

> "find_java_runtime" is harder. You actually need to run the programs to
> really find out if a runtime works with a given program.

Maybe the wrapper could usr /usr/bin/java and if a JAVA_HOME is set,
then use that one. So in the script that call the wrapper, you could
set a default JVM or let the user do so or even read it from
/etc/some_java_program_conf. The script would have to define a
classpath and default JVM args (or in a conffile).

-- 
Arnaud Vandyck


Reply to: