Bug#609731: java-wrapper doesn't consider java-alternatives jvm

2011-01-12 Thread Gabriele Giacone
How about something like attached patch? -- Gabriele --- jvm-list.sh.orig 2011-01-12 12:29:42.0 +0100 +++ jvm-list.sh 2011-01-12 12:33:21.0 +0100 @@ -62,8 +62,10 @@ # - corresponds to Provides: java2-runtime __jvm_java2=$__jvm_java5 $__jvm_gcj2 +# current java alternatives

Bug#609731: java-wrapper doesn't consider java-alternatives jvm

2011-01-12 Thread Vincent Fourmond
On Wed, Jan 12, 2011 at 12:44 PM, Gabriele Giacone 1o5g4...@gmail.com wrote: How about something like attached patch? That's a good start, thanks. That won't work for more specific things (JVM other than all), but that gave me some ideas at least. Could you please apply it in the pkg-java SVN

Bug#609731: java-wrapper doesn't consider java-alternatives jvm

2011-01-11 Thread Vincent Fourmond
On Wed, Jan 12, 2011 at 12:37 AM, Gabriele Giacone 1o5g4...@gmail.com wrote: Why doesn't find_java_runtime() also look for jvm pointed by java-alternatives? Because it is a mess when you have to consider the capacities of the different JVMs (true sun, openjdk, java6, java5, etc...). But,