Re: Running Java App fails...
Hi Hans
> > I may be wrong but I don't think it is a bug and I think the following
> > will do the trick
> > #update-alternatives --config java
> > and then you select the java alternative you like.
> >
> > Hope it helps
> > Gudjon
>
> Not quite, please take a look:
>
> protheus2:/home/ullhan63# LANG=C update-alternatives --config java
>
> There is only 1 program which provides java
> (/usr/lib/jvm/java-6-sun/jre/bin/java). Nothing to configure.
> protheus2:/home/ullhan63#
>
>
> All other java-packages were deinstalled by aptitude (or apt-get
> dist-upgrade) bcause of conflicts.
There is plenty of possibilities on my computer :)
# update-alternatives --config java
There are 5 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
1 /usr/lib/jvm/ia32-java-6-sun/jre/bin/java
2 /etc/alternatives/kaffe-system/bin/java
* 3 /usr/lib/jvm/java-6-sun/jre/bin/java
+ 4 /usr/lib/jvm/java-gcj/jre/bin/java
5 /usr/bin/gij-4.1
Press enter to keep the default[*], or type selection number:
I think the difference is that I use dselect since I found it better in
resolving conflicts although it sometimes uses brute force.
Regards
Gudjon
Reply to: