FreeBSD java installation help!

Achilleas Mantzios achill at matrix.gatewaynet.com
Thu Jun 20 09:58:29 UTC 2013


One could use the new PKGNG package management suite along with the 
PC-BSD repo. Openjdk6 shouldn't take for than 1-2 minutes.
Headless has stopped being an issue for quite some years now. There was 
the -D workaround back then, today I think its not a problem any more.
In short give it a try by yourself.

On 20/06/2013 00:02, Heiner Strauß wrote:
> Am 19.06.2013 um 21:28 schrieb Kavitha H Yogaraj <ykavitha at 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.
>
> --
>
> Heiner Strauß
>
>
>
>
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"


-- 
Achilleas Mantzios



More information about the freebsd-java mailing list