View previous topic :: View next topic |
Author |
Message |
sleemandude n00b
Joined: 14 Sep 2005 Posts: 8
|
Posted: Tue Sep 27, 2005 11:11 am Post subject: Azureus doesn't start |
|
|
Sorry for the question, but I'm pretty new to gentoo. I just emerged Azureus yet it won't start:
/usr/bin/azureus: line 42: java: command not found
I tried different solutions, one of them was re-emerging java-config. Didn't help
Where to go from here?
Thanks! |
|
Back to top |
|
|
Sidounet n00b
Joined: 06 Aug 2004 Posts: 29
|
Posted: Tue Sep 27, 2005 11:46 am Post subject: |
|
|
edit :
1 / you don't have java -> emerge dev-java/blackdown-jdk (or just jre ?)
2 / java is installed but it's not in your bash PATH
Code: | sid@luke ~ $ whereis java
java: /opt/blackdown-jdk-1.4.2.02/bin/java /opt/blackdown-jre-1.4.2.02/bin/java
sid@luke ~ $ echo $PATH
/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/opt/blackdown-jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/bin
|
Or just ln -s /where/is/java /usr/bin/java |
|
Back to top |
|
|
jurrie Apprentice
Joined: 14 Mar 2004 Posts: 177 Location: Netherlands
|
Posted: Tue Sep 27, 2005 4:23 pm Post subject: |
|
|
Does Azureus work on blackdown? Back when I was on x86_64, Sun JRE 5 was required.. I still use that one now. |
|
Back to top |
|
|
lavacano Apprentice
Joined: 29 May 2005 Posts: 190 Location: Poulsbo, WA
|
|
Back to top |
|
|
Jake Veteran
Joined: 31 Jul 2003 Posts: 1132
|
Posted: Tue Sep 27, 2005 10:23 pm Post subject: |
|
|
jurrie wrote: | Does Azureus work on blackdown? Back when I was on x86_64, Sun JRE 5 was required.. I still use that one now. | I'm running Azureus-bin 2.3.0.4 on Blackdown 1.4.2-02 on amd64.
Sidounet wrote: | 2 / java is installed but it's not in your bash PATH
| for future reference, the which command is ideal for checking if a command is in your PATH. |
|
Back to top |
|
|
RogerWilco n00b
Joined: 30 Dec 2004 Posts: 29
|
Posted: Wed Sep 28, 2005 9:45 am Post subject: |
|
|
On my deb box I had to throw out the blackdown package and pull the (MUCH smaller) sun binary from sun.com. Put it into /opt/java, symlink from /opt/java/bin/java to /usr/bin/java and azuresu goes without a hitch |
|
Back to top |
|
|
sleemandude n00b
Joined: 14 Sep 2005 Posts: 8
|
Posted: Wed Sep 28, 2005 11:01 am Post subject: |
|
|
Sidounet: As you can see, it's not in my path:
# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin
but I do have blackdown installed. How do I add it to my path?
Thanks! |
|
Back to top |
|
|
sleemandude n00b
Joined: 14 Sep 2005 Posts: 8
|
Posted: Thu Sep 29, 2005 3:00 am Post subject: |
|
|
ok... got a bit further!
I did the followings:
#java-config --set-system-vm=blackdown-jdk-1.4.2.02
#env-update
#source /etc/profile
# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.3.5:/opt/blackdown-jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin
but that's only with the "root" (su).
To set it for a normal user:
#java-config --set-user-vm=blackdown-jdk-1.4.2.02
#source /etc/profile
Now I need to make sure it stays after a reboot
Azureus now starts! Sweet! But the window is empty... :S |
|
Back to top |
|
|
|