LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Java not working. (https://www.linuxquestions.org/questions/debian-26/java-not-working-512843/)

Red Knuckles 12-22-2006 06:46 AM

Java not working.
 
I have installed Sun Java and java-plugin with Debian repos and apt-get.
I have Java plugin in IceWeasel. 'whereis java'results in:

~# whereis java
java: /etc/java /usr/share/java

In 'usr/share' I have these listed:

/usr/share# ls
java
java-1.5.0-sun-1.5.0.10
java-config
java-package

'update-alternatives --config java' results in:

~# update-alternatives --config java

There are 2 alternatives which provide `java'.

Selection Alternative
-----------------------------------------------
*+ 1 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java
2 /usr/bin/gij-wrapper-4.1

Press enter to keep the default[*], or type selection number:

Then 'java -version' results in:

~# java -version
-su: java: command not found

When I try to start Azureus:

/usr/bin# ./azureus
./azureus: line 3: /usr/share/java-config/libswt-3.2-java: No such file or directory

What can I do to get Java to work?

Red Knuckles 12-23-2006 07:58 PM

Found the answer at these 2 posts:

http://www.linuxquestions.org/questi...d.php?t=443680
http://forums.debian.net/viewtopic.php?t=10870

:newbie:


All times are GMT -5. The time now is 10:25 AM.