Bug#542392: azureus: Refuses to start

Onkar Shinde onkarshinde at ubuntu.com
Wed Aug 19 13:06:29 UTC 2009


On Wed, Aug 19, 2009 at 5:42 PM, Jan Willem Stumpel<jstumpel at planet.nl> wrote:
> Package: azureus
> Version: 4.2.0.4-1
> Severity: grave
> Justification: renders package unusable
>
> I have openjdk-6-jre installed, because azureus used to depend on it.
> openjdk works fine with other java applications as well, so no
> complaints here. But (see bug report #515015) some users found it annoying
> that other jre's, like Sun's, could not be used.
>
> Now the latest azureus version corrects this, I believe by means of the script
> java-wrappers.sh. I suppose sun jre users are now happy. But I am very
> UNhappy, because now azureus refuses to start at all. The error messages
> are:
>
> /usr/lib/java-wrappers/java-wrappers.sh: line 243: /usr/lib/java/bin/java:
> / No such file or directory
> /usr/lib/java-wrappers/java-wrappers.sh: line 243: exec:
> / /usr/lib/java/bin/java: cannot execute: No such file or directory

I don't see a problem with java-wrappers script or azureus launcher script.
Can you please try this?
Modify the azureus launcher script (/usr/bin/azureus), and add
DEBUG_WRAPPER=1 just before run_java.
i.e. DEBUG_WRAPPER=1 run_java -Dazureus.install.path="$HOME/.azureus" $UI \
    org.gudy.azureus2.ui.common.Main "$@"

Try launching azureus from command line then and paste the output in the bug.

> Why can't azureus simply use the /etc/alternatives mechanism?

Because azureus is known not to work with anything other than openjdk
or sun JREs. That's why. :-)


Cheers,
Onkar





More information about the pkg-java-maintainers mailing list