From owner-freebsd-java@FreeBSD.ORG Thu Jun 20 18:07:28 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 B0451680 for ; Thu, 20 Jun 2013 18:07:28 +0000 (UTC) (envelope-from ykavitha@uw.edu) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) by mx1.freebsd.org (Postfix) with ESMTP id 476A419DB for ; Thu, 20 Jun 2013 18:07:28 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id y10so1123130wgg.0 for ; Thu, 20 Jun 2013 11:07:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=91OW7OljbqPAX3ejGZjlxXTxUZr/cbwnqW1/VMZA//8=; b=gNj7KBzIP6Ju93tLfyIAxt2MgMHcJOxzz2qsay3baoGAgHYiCm0i3qO5deF3Dnju9t d+xpz8JmEmB0+JNaKuMlVDGsXyVv4QyN7ZGZhGFUXv41WMUCWKR5At7XYoJs0e1PqImY gxRO4KELWOC2jJcUJdO0lgfJjFt0LGh9qXZF5ek0Noi1B12EDAIXf+uXypWv5Y3NRxi0 P7TDDm8WSCJxAU9R1yX+o2kOWKOVrvqbmfH+SdhBjHbNARqvpKoQnlJ16wIp5DlWdm2o K8CO2+s2mAzXllnCBdc0SwElkXG2HHdNcsAj678WQwjKChNFtDxi8oiubEXMV/IfeEH5 ByEQ== MIME-Version: 1.0 X-Received: by 10.180.9.242 with SMTP id d18mr390574wib.18.1371751646412; Thu, 20 Jun 2013 11:07:26 -0700 (PDT) Received: by 10.194.79.166 with HTTP; Thu, 20 Jun 2013 11:07:26 -0700 (PDT) In-Reply-To: References: Date: Thu, 20 Jun 2013 11:07:26 -0700 Message-ID: Subject: Re: FreeBSD java installation help! From: Kavitha H Yogaraj To: =?ISO-8859-1?Q?Heiner_Strau=DF?= , Ronald Klop X-Gm-Message-State: ALoCoQmhGMLPKhBd6K/WhqPKqA7tlBzOw5cltgaf8pbWEjyw5O/OB7ZFtfSb9f9elEjC1rGloYxM Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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 18:07:28 -0000 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=92t 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/op= enjdk-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/o= penjdk7.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/o= penjdk7.tbz' by URL And then, when I try to mention the site name PACKAGESITE=3D ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/ftp://ftp.fr= eebsd.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=DF 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. > > -- > > Heiner Strau=DF > > > > > --=20 Thanks, Kavitha Yogaraj Grad Student, University of Washington Tacoma,