Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2005 19:04:41 +0200
From:      Andreas Eriksson <andreas@tpwch.com>
To:        freebsd-questions@freebsd.org
Subject:   Azureus and Java 1.5
Message-ID:  <79052f10509161004673f6d23@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello FreeBSD users.

I recently installed FreeBSD 5.4 to replace Debian on my laptop that I use=
=20
both at school and at home, because FreeBSD has better support for power=20
management for my laptop hardware (especially much better frequency scaling=
)=20
and its always fun to play around with something new (well.. not that new, =
I=20
have used FreeBSD before, and I know how to do basic things like installing=
=20
ports and recompiling the world, but nothing advanced).

I use Java1.5 in the programming classes at school, so I need to have that=
=20
installed, and the installation of java 1.5 went fine. I also need Azureus=
=20
installed for downloading some files at home (other clients tends to be muc=
h=20
slower for some reason, not using up my connection to the max on the upload=
,=20
and because of that the downloads goes slower too). But when I tried to=20
install Azureus it gave me this error message:

/usr/local/jdk1.4.2/bin/jar: not found

Azureus should work fine with JDK 1.5 since it works fine both on Linux and=
=20
Windows with it, and Java is supposed to be very cross platform, right? I=
=20
would prefer to not have to install 1.4.2 for three reasons: I'm low on dis=
k=20
space and having two JDK's takes up quite a bit of space, the compilation o=
f=20
Java takes many hours and I don't want to wait that long again, and=20
according to Azureus website Azureus works much better with 1.5 than earlie=
r=20
versions.

Before posting this message I tried changing JAVA_VERSION=3D1.4 to=20
JAVA_VERSION=3D1.5 in the port, and it gave me the following error:

java.io.FileNotFoundException:=20
/usr/local/eclipse/plugins/org.eclipse.swt.gtk.freebsd.x86_3.1.0.jar (No=20
such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.tools.jar.Main.run(Main.java:185)
at sun.tools.jar.Main.main(Main.java:925)

Maybe there is some dependency that Azureus needs with 1.5 that it doesn't=
=20
need with 1.4? Some port I can install first?
A good solution to my problem would be an Azureus binary for FreeBSD, but I=
=20
can't find one and 'pkg_add -r azureus' doesn't find one either.
So my question is: How do I solve this problem?

Thanks in advance,
Andreas Eriksson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79052f10509161004673f6d23>