From owner-freebsd-java@FreeBSD.ORG Fri Jun 21 06:29:53 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 E6648AC0 for ; Fri, 21 Jun 2013 06:29:53 +0000 (UTC) (envelope-from horst.leitenmueller@liwest.at) Received: from so.liwest.at (so.liwest.at [212.33.55.13]) by mx1.freebsd.org (Postfix) with ESMTP id AC6521BE4 for ; Fri, 21 Jun 2013 06:29:53 +0000 (UTC) Received: from [90.146.7.130] (helo=[192.168.10.87]) by so.liwest.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1UpubJ-0007hX-EQ; Fri, 21 Jun 2013 08:13:37 +0200 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: FreeBSD java installation help! From: horst leitenmueller In-Reply-To: Date: Fri, 21 Jun 2013 08:13:37 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <2608923F-8E18-4F97-9EF6-94583F80BA62@liwest.at> References: To: Ronald Klop X-Mailer: Apple Mail (2.1503) X-Spam-Score: -1.0 (-) Cc: =?iso-8859-1?Q?Heiner_Strau=DF?= , Kavitha H Yogaraj , 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: Fri, 21 Jun 2013 06:29:54 -0000 Hi, you can install only the xorg libraries then not all dependencies will = be loaded, but you always have to keep care what pkg is installing which = dependencies.. ; i'm doing this inside of jails if not fitting i can = drop it easily // install xorg libs cd /usr/ports/x11/xorg-libraries make install and then install the openjdk (i have installed 6)=20 i have build it and not install via .tbz and running java (jboss) headless afterwards -Djava.awt.headless=3Dtrue = as startup param i have it running on freebsd 8.3 br horst On Jun 20, 2013, at 9:29 AM, Ronald Klop = wrote: > On Wed, 19 Jun 2013 23:02:36 +0200, Heiner Strau=DF = wrote: >=20 >>=20 >> Am 19.06.2013 um 21:28 schrieb Kavitha H Yogaraj : >>=20 >>> Hi there, >>>=20 >>> 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. >>>=20 >>=20 >> 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. >>=20 >>> Could you please help me out in installing Java -headless (X11) in = FreeBsd? >>>=20 >>=20 >> 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. >=20 > You can always run it as 'java -Dsystem.headless=3Dtrue' or something = like that. (Google remembers this better than I do.) > But, yes, you will have half X installed as dependecies. >=20 > Ronald. > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to = "freebsd-java-unsubscribe@freebsd.org"