Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2013 09:29:20 +0200
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        "Kavitha H Yogaraj" <ykavitha@uw.edu>, =?utf-8?Q?Heiner_Strau=C3=9F?= <heiner_ej@yahoo.de>
Cc:        freebsd-java@freebsd.org
Subject:   Re: FreeBSD java installation help!
Message-ID:  <op.wyyu26nh8527sy@ronaldradial.versatec.local>
In-Reply-To: <F8A86A46-6B12-4B41-981C-3DB21787F72C@yahoo.de>
References:  <CAEhp90dB%2BxM4%2B39Hz7Ed_m=BqixZzbgZkewv3vDqAVD-9eLoPg@mail.gmail.com> <F8A86A46-6B12-4B41-981C-3DB21787F72C@yahoo.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Jun 2013 23:02:36 +0200, Heiner Strauß <heiner_ej@yahoo.de>  
wrote:

>
> Am 19.06.2013 um 21:28 schrieb Kavitha H Yogaraj <ykavitha@uw.edu>:
>
>> 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.



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