From owner-freebsd-java@FreeBSD.ORG Sat Apr 8 12:20:00 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 CCB5916A401 for ; Sat, 8 Apr 2006 12:20:00 +0000 (UTC) (envelope-from mv@roq.com) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44A7643D8B for ; Sat, 8 Apr 2006 12:18:13 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 7DE604CD73; Sat, 8 Apr 2006 12:18:55 +0000 (GMT) Received: from [192.168.0.6] (ppp157-158.static.internode.on.net [150.101.157.158]) by p4.roq.com (Postfix) with ESMTP id 5D1D24CD4D; Sat, 8 Apr 2006 12:18:54 +0000 (GMT) Message-ID: <4437AA03.6090607@roq.com> Date: Sat, 08 Apr 2006 22:18:11 +1000 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060213 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Russell Francis References: <20060408032859.U947@ganymede.hub.org> <44379918.3070404@ev.net> In-Reply-To: <44379918.3070404@ev.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Stefan , 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 12:20:00 -0000 Russell Francis wrote: >Stefan wrote: > > >>>packages are generally built based on 'most common situation', vs >>>'least' ... even the 'build your own version' in ports defaults to >>>building with X, and you have to explicitly tell it not to ... >>> >>> >>> >>Your right. Now I try to install via ports.... >> >>How can I explicitly tell to not intsall the jdk15-port with >>x-libraries? I only saw three options: >>WITH_DEBUG >>WITH_IPV6 >>WITHOUT_WEB >> >> > >I may be mistaken about this, but wouldn't not building with x-libraries >make fairly large parts of the Java runtime environment ie java.awt.* & >java.swing.* broken? > >If this is true, why would you want this? I suspect that many Java >applications make use of functionality within these name-spaces even if >they don't seem to be an "X based" application? > > Some people just want to use it for a Tomcat server. A lot of people put something like 'export CATALINA_OPTS=-Djava.awt.headless=true' to disable it as its just extra things they don't have to worry about. Mike