From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 20:52:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4FBF16A41F for ; Tue, 19 Jul 2005 20:52:45 +0000 (GMT) (envelope-from algould@datawok.com) Received: from smtpauth06.mail.atl.earthlink.net (smtpauth06.mail.atl.earthlink.net [209.86.89.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4061D43D48 for ; Tue, 19 Jul 2005 20:52:45 +0000 (GMT) (envelope-from algould@datawok.com) Received: from [206.255.31.21] (helo=yoda.datawok.com) by smtpauth06.mail.atl.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1Duz52-0007gS-HR; Tue, 19 Jul 2005 16:52:44 -0400 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Tue, 19 Jul 2005 15:53:58 -0500 User-Agent: KMail/1.6.2 References: <42DD609B.6050508@yahoo.com.br> In-Reply-To: <42DD609B.6050508@yahoo.com.br> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200507191553.58037.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69563f9fea00a6dd62bcc11c748930cfa05765f46c254148dc06350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 206.255.31.21 Cc: Armando Richard Subject: Re: Sorry... newbie X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 20:52:45 -0000 On Tuesday 19 July 2005 03:20 pm, Armando Richard wrote: > Hope find at least 1 patient person to answer this... > > I'm used to operate well systems in Linux and "R"windows and trying > from 2 days FreeBSD.. > > I've very very very novice questions and couldn't find any help in > literature i've been read (from more than a week). Also this is the > forum looking more like... > > there is anybody who can give some directions?? > > - for now my main doubt is in java virtual machine: > > -- sources links that points to nowhere. > -- ports descriptions saying only about what i will get after. > -- messages like that in my terminal: > > # cd '/usr/ports/java/jdk13' > # ls > Makefile files pkg-message scripts > distinfo pkg-descr pkg-plist > # make > printf: missing format character > ===> jdk-1.3.1p9_4 is*** Error code 1 > > Stop in /usr/ports/java/jdk13. > # pkg_add jdk13 > pkg_add: can't stat package file 'jdk13' > # pkg_add jdk-1.3 > pkg_add: can't stat package file 'jdk-1.3' > # pkg_add jdk > pkg_add: can't stat package file 'jdk' > # > > or > > # pkg_add -r jdk > Error: FTP Unable to get > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Lat >est/jdk.tbz: File unavailable (e.g., file not found, no access) > pkg_add: unable to fetch > 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/La >test/jdk.tbz' by URL > # pkg_add -r jdk13 > Error: FTP Unable to get > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Lat >est/jdk13.tbz: File unavailable (e.g., file not found, no access) > pkg_add: unable to fetch > 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/La >test/jdk13.tbz' by URL > # > > -- nothing about development kits and thousands of tools, just a > simple plugin in my browser (mozilla, can be other if it isn't good) > wich works. > > Sorry if i bore you, just loosed.. my last chance is here... > > tx You're confusing the process of installing ports from binary packages vs. source code. pkg_add is used to install binary packages. Binary packages are not available for Java for FreeBSD 5*. You'll have to build java from source code. Since FreeBSD is not allowed to distribute the source code, you'll have to download the source code manually into /usr/ports/distfiles/. Then go back to your ports directory and install the port: cd /usr/ports/java/jdk13/ make install If you haven't downloaded the source code, the installation process will stop and tell you where to get the appropriate files. You can get more information regarding Java on FreeBSD from: http://www.freebsd.org/java/ Best of luck, Andrew Gould