From owner-freebsd-java@FreeBSD.ORG Thu Jun 20 07:29:26 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B0DFA618 for ; Thu, 20 Jun 2013 07:29:26 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) by mx1.freebsd.org (Postfix) with ESMTP id 736571F43 for ; Thu, 20 Jun 2013 07:29:26 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UpZJ3-0002o0-Rt; Thu, 20 Jun 2013 09:29:22 +0200 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UpZJ4-0001SL-8O; Thu, 20 Jun 2013 09:29:22 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Kavitha H Yogaraj" , =?utf-8?Q?Heiner_Strau=C3=9F?= Subject: Re: FreeBSD java installation help! References: Date: Thu, 20 Jun 2013 09:29:20 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.15 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.0 X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.1 X-Scan-Signature: 258bd43c1b7c380ff6f1b27dffaa1ebc Cc: freebsd-java@freebsd.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jun 2013 07:29:26 -0000 On Wed, 19 Jun 2013 23:02:36 +0200, Heiner Strauß wrote: > > Am 19.06.2013 um 21:28 schrieb Kavitha H Yogaraj : > >> Hi there, >> >> I'm a newbie to FreeBSD, have no idea how to install java in FreeBSD OS. >> In the resources available online, its said that fresh ports need to be >> used, some other also say that it didn't worked. >> > > Hi, > you only need to compile and install the right port. For JDK 6 it is > openjdk6, it will work. Please proceed as described in the handbook. > Don't use parallel make jobs, it will fail with openjdk. > >> Could you please help me out in installing Java -headless (X11) in >> FreeBsd? >> > > Building headless is an art of its own, you have to ask the openjdk > people, it is not supported through the FreeBSD port system at the > moment, at least not for JDK6. Maybe it is easier to build headless with > JDK 7. Please inform us if you find a solution for headless, I'm very > interested. > Greetings. You can always run it as 'java -Dsystem.headless=true' or something like that. (Google remembers this better than I do.) But, yes, you will have half X installed as dependecies. Ronald.