Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Apr 2006 13:12:11 +0300
From:      Panagiotis Astithas <past@ebs.gr>
To:        Stefan <stefan@sf-net.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: JDK binary without X
Message-ID:  <44378C7B.1040900@ebs.gr>
In-Reply-To: <C769752C-B110-4480-882F-D5D10CF3026A@sf-net.com>
References:  <C769752C-B110-4480-882F-D5D10CF3026A@sf-net.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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