JDK binary without X
Panagiotis Astithas
past at ebs.gr
Sat Apr 8 10:12:17 UTC 2006
Stefan wrote:
> Hi,
>
> is there a possibility to get a jdk without the dependence of
> xorg-libraries and it's dependencies? I don't like to install the
> xorg-libraries and it's dependencies on my server it would be nice to
> have such a feature.
>
> I'm new to the java-project of FreeBSD but what would happen if I
> install the binary jdk version and then e.g. install the tomcat55 port.
> Would it try to install a jdk14 or would it recognize that a binary
> version is installed?
You could install the binary package of diablo-jdk15 and then a binary
package of tomcat55. If you get any warnings about missing dependencies
you could force the installation with pkg_add -f. If you happen to
install on a server without a graphics card you should also be invoking
java with -Djava.awt.headless=true.
Cheers,
Panagiotis
More information about the freebsd-java
mailing list