From owner-freebsd-java@FreeBSD.ORG Fri Jun 21 13:17:45 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 1E5A3D99 for ; Fri, 21 Jun 2013 13:17:45 +0000 (UTC) (envelope-from ykavitha@uw.edu) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 98AA01F1C for ; Fri, 21 Jun 2013 13:17:44 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id p60so6503195wes.13 for ; Fri, 21 Jun 2013 06:17:43 -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=CAB+FS/aHJAThTWZn9MtzhmGT9d8EdLkYcibhK5o8co=; b=Y8xFRaLdkAlYvMHs4teIOKY1oyH20+XT57IrpWbSpHkuaujJ8+DmEKXo/zggebC3SG YFwt2yH2CoNv8GFKRqEN+1+to/M3+jIFvfw9YF5MFhPvn/ieUeoxBnoP4dkLNVVd3Sjl iAJLvy8TkQK247+L0YR9oxrrk4S5GhJ9xGl4jXuy2lkjqD3K6ckvuKbhz6w2TxVnoEWF kEDAsE7nNSdnC8/XQblJOJ+ic94oJXwHiTYPXNB0QCCUBtpWby4ANQrTbrU+GWjAxaJJ /ssgIxM0Ud9zNSSvpdWUA7Bm5KzkkcUuPEp1iTwTnEg9JQhOv5uYKvTZV3ogFph+qJNg tpHQ== MIME-Version: 1.0 X-Received: by 10.180.206.77 with SMTP id lm13mr2787581wic.18.1371820663768; Fri, 21 Jun 2013 06:17:43 -0700 (PDT) Received: by 10.194.79.166 with HTTP; Fri, 21 Jun 2013 06:17:43 -0700 (PDT) In-Reply-To: References: Date: Fri, 21 Jun 2013 06:17:43 -0700 Message-ID: Subject: Re: FreeBSD java installation help! From: Kavitha H Yogaraj To: Ronald Klop , horst leitenmueller X-Gm-Message-State: ALoCoQljEoVdjy/GfAi6kp5gHoy+xiiNaI3ROrGSZdASC6DuqCzn79ZKr7tbNjp28GigeAiJKq4x Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: =?ISO-8859-1?Q?Heiner_Strau=DF?= , 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 13:17:45 -0000 Hey Ronald & Horst, Thank you very much for these two instructions, portsnap fetch portsnap extract I at least understood what people are talking online -about creating cd /usr/ports.... etc... Now, as Horst said, I'm first installing Xorg-libraries by this cd /usr/ports/x11/xorg-libraries make install But, it looks like there is some package existing already, I get this error message... =3D=3D=3D> Installing for pkgconf-0.9.2_1 =3D=3D=3D> pkgconf-0.9.2_1 conflicts with installed package(s): pkg-config-0.25_1 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/devel/pkgconf. *** Error code 1 Stop in /usr/ports/x11/libdmx. *** Error code 1 Stop in /usr/ports/x11/xorg-libraries. x11/xorg was not installed... If I go head and delete this existing package will it create dependencies of deletion? because right now, I'm the only one doing this in my lab all others are on break. I don't want to mess up the running system. thanks kav On Fri, Jun 21, 2013 at 1:02 AM, Ronald Klop w= rote: > Try this. > > cd /usr/ports/java/openjdk7 > make install > make clean > > If the directory /usr/ports does not exist you can create it with this. > portsnap fetch > portsnap extract > > To update the ports directory to the latest version: > portsnap fetch > portsnap update > > See the online handbook for more information about ports and FreeBSD. > http://www.freebsd.org/doc/en_**US.ISO8859-1/books/handbook/** > updating-upgrading-portsnap.**html > > Regards, > Ronald. > > > On Thu, 20 Jun 2013 20:07:26 +0200, Kavitha H Yogaraj > wrote: > > 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 thi= s >> 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=3D >> 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=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 >>> >>> >>> >>> >>> >>> >>