From owner-freebsd-java@FreeBSD.ORG Sat Apr 8 10:12:17 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7237816A401 for ; Sat, 8 Apr 2006 10:12:17 +0000 (UTC) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id B520843D46 for ; Sat, 8 Apr 2006 10:12:15 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k38ACDZ2015621; Sat, 8 Apr 2006 13:12:13 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.13.3) with ESMTP id k38ACOHu023617; Sat, 8 Apr 2006 13:12:24 +0300 (EEST) (envelope-from past@ebs.gr) Message-ID: <44378C7B.1040900@ebs.gr> Date: Sat, 08 Apr 2006 13:12:11 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5 (X11/20060402) MIME-Version: 1.0 To: Stefan References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: JDK binary without X X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 10:12:17 -0000 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