Re: Supporting CLASSPATH for /etc/alternatives/java
On Friday 28 February 2003 5:04 pm, Robert Bihlmeyer wrote:
> Daniel Bonniot <Daniel.Bonniot@inria.fr> writes:
> > Second, should we specify that they should also treat the environment
> > variables like Sun's java? Specifically, that they should honor the
> > CLASSPATH variable?
>
> Please!
>
> > At least sablevm is providing an alternative for "java", but does not
> > seem to look at the CLASSPATH.
>
> Gar ... in my experience $CLASSPATH was/is the most portable way to
> specify this setting (as opposed to the -cp/-classpath/--classpath/...
> nightmare).
Daniel Bonniot <Daniel.Bonniot@inria.fr> writes:
> /usr/bin/sablevm does not honor CLASSPATH nor -classpath. But
> /usr/lib/sablevm/bin/java, which is used as the alternative, does. So
> for me everything is OK, which is why I closed the bug.
> My mistake was trying to manually use /usr/bin/sablevm as a drop-in
> replacement for Java, which it is not.
Reply to: