FreeBSD java installation help!

Kavitha H Yogaraj ykavitha at uw.edu
Thu Jun 20 18:07:28 UTC 2013


Thanks for the reply,

I'm following these steps from this site
http://haulynjason.net/weblog/2012/10/install-opnejdk7-on-freebsd/#comment-6055

I can’t see Edit folder in my openJdk7 folder when I unzip it from this
URL.

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/openjdk-7.9.05_1.tbz

Could you please help me where to find this make.conf file?

When I use this command pkg_add -r openjdk7
I get this error
Error: Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/openjdk7.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch '
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/openjdk7.tbz'
by URL

And then, when I try to mention the site name

PACKAGESITE=
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release//java/openjdk-7.9.05_1.tbz
I again get invalid command error.

Could you please help me in installing java in FreeBSD?

On Wed, Jun 19, 2013 at 2:02 PM, Heiner Strauß <heiner_ej at yahoo.de> 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ß
>
>
>
>
>


-- 
Thanks,
Kavitha Yogaraj
Grad Student,
University of Washington Tacoma,


More information about the freebsd-java mailing list