Results 1 to 8 of 8
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' ...
- 12-22-2006 #1Just Joined!
- Join Date
- Dec 2005
- Posts
- 66
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?
- 12-22-2006 #2
Hi Red Knuckles,
I'm not real educated with java but I'll give it a shot:
Have you checked to see if libswt-3.2-java is actually in /usr/share/java-config? I'm wondering if Azurius is looking for it where it isn't. I'd look in /usr/lib/jvm/java-1.5.0-sun and see if it's there...
- 12-22-2006 #3Just Joined!
- Join Date
- Dec 2005
- Posts
- 66
Here's what I find:
Originally Posted by Dapper Dan
/usr/share/java-config# ls
libswt-gtk-3.2-java
/usr/lib/jvm# ls
java-1.5.0-sun java-1.5.0-sun-1.5.0.10
/usr/lib/jvm/java-1.5.0-sun# ls
bin demo ext jre LICENSE README.html src.zip
COPYRIGHT docs include lib man sample THIRDPARTYLICENSEREADME.txt
/usr/lib/jvm/java-1.5.0-sun-1.5.0.10# ls
bin demo ext jre LICENSE README.html src.zip
COPYRIGHT docs include lib man sample THIRDPARTYLICENSEREADME.txt
Obviously I'm not real educated with java either. Yet.
- 12-24-2006 #4
Which Debian version are you using ?
How did you install Java ?
How did you install Azureus ?"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 12-24-2006 #5Just Joined!
- Join Date
- Dec 2005
- Posts
- 66
I'm using Debian Etch [I believe that's 4.0].
It was a java problem. Found the answer at these 2 posts:
http://www.linuxquestions.org/questi...d.php?t=443680
http://forums.debian.net/viewtopic.php?t=10870
I installed jave using rickh's How To @ LinusQuestions.org. I then installed Azureus using Synaptic.
~$ java -version
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)
Azureus version:2.5.0.0
:o
- 12-24-2006 #6
I am confused, did you got it to work ?
What I can tell you is this.
The easiest and most reliable way to install Java is using java-package. I described the exact method on my blog :
http://wizah.blogspot.com/2005/12/de...suns-java.html
As for Azureus, I don't like using the Debian package, as I had some trouble with it in the past.
Download the .tar.bz2 binary package from Azureus official site.
As it is a binary package, you don't need to compile anything, simply uncompress it, /opt/ for example :
(as root)
Then make a shortcut for it (as root) :Code:cd /opt tar jxf /path/to/Azureus_2.5.0.0_linux.tar.bz2
With this content :Code:nano /usr/share/applications/Azureus.desktop
At least that's how I do it.Code:[Desktop Entry] Name=Azureus Comment=Java BitTorrent Client Exec=/opt/azureus/azureus Icon=/opt/azureus/Azureus.png Terminal=false Type=Application Categories=Application;Network;
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 12-24-2006 #7Just Joined!
- Join Date
- Dec 2005
- Posts
- 66
Sorry, not meaning to confuse. Yes, I got it to work. I installed Sun Java using this link:
http://www.linuxquestions.org/questi...d.php?t=443680
Although your link looks like it may have been easier. Thanks.
- 12-24-2006 #8
Ok, no problem.
Have fun !"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee


Reply With Quote
