Quote:
Originally Posted by rickh
Try:
# update-alternatives --auto java
|
Thanks rickh. Before I got to your post I had reinstalled 'sun-java5-bin' to go with already installed 'sun-java6-bin sun-java6-plugin azureus' all with Synaptic. As well as having previously created link:
ln -s /usr/lib/jvm/java-6-sun /usr/lib/java
and adding lines:
export PATH
JAVA_HOME="/usr/lib/java"
export JAVA_HOME
umask 022
to replace:
export PATH
umask 022
in '/etc/profile'. Now I'm getting results:
:~# update-alternatives --auto java
:~# update-alternatives --config java
There are 2 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
*+ 1 /usr/lib/jvm/java-6-sun/jre/bin/java
2 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
Press enter to keep the default[*], or type selection number:
:~# java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
However azureus still won't open. I don't have Frostwire in my repos, is there a repo with it? When I try to open Azureus from cli I still get same error:
:/usr/bin# ./azureus
./azureus: line 3: /usr/share/java-config/libswt-3.2-java: No such file or directory
I'll reboot and see if that does the trick. Any other ideas to get Azureus to work? Is this a BUG? libswt-3.2-java is not found by 'apt-cache search'. 'apt-cache search libswt'results in:
libswt-gnome-gtk-3.2-jni - Standard Widget Toolkit for GTK Gnome JNI library
libswt-gtk-3.2 - Standard Widget Toolkit for GTK native library
libswt-gtk-3.2-java - Standard Widget Toolkit for GTK Java library
libswt-gtk-3.2-jni - Standard Widget Toolkit for GTK JNI library
libswt-gtk-dev - Standard Widget Toolkit for GTK development
libswt-mozilla-gtk-3.2 - Standard Widget Toolkit for GTK Mozilla Java library
libswt-mozilla-gtk-3.2-jni - Standard Widget Toolkit for GTK Mozilla JNI library
libswt-mozilla-gtk-dev - Standard Widget Toolkit for GTK Mozilla JNI library
libswt3.2-gtk-gcj - Fast and rich GUI toolkit for Java, gtk2 (GCJ version)
libswt3.2-gtk-java - Fast and rich GUI toolkit for Java, gtk2 version
libswt3.2-gtk-jni - Platform dependent files for libswt3.2-gtk-java
I have 'libswt-gtk-3.2-java libswt-gtk-3.2-jni' installed. I use KDE Desktop. I'm wondering if I need to maybe install some Gnome apps but wouldn't they have been installed by default when I installed Etch as it installs ONLY Gnome Desktop and I had to add KDE after install???