From owner-freebsd-stable@FreeBSD.ORG Wed Feb 9 00:09:31 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF60316A4CE for ; Wed, 9 Feb 2005 00:09:31 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B7C443D41 for ; Wed, 9 Feb 2005 00:09:31 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 81D3D514FE; Tue, 8 Feb 2005 16:09:30 -0800 (PST) Date: Tue, 8 Feb 2005 16:09:30 -0800 From: Kris Kennaway To: Darryl Woodford Message-ID: <20050209000930.GA63875@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: freebsd-stable@freebsd.org Subject: Re: libjava.so not found X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 00:09:31 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 09, 2005 at 12:03:25AM +0000, Darryl Woodford wrote: > In reply to a post I found online re: not being able to run java from > command line, I found removing the /usr/bin links and recreating them > solved my problem... >=20 > vladdy:/usr/bin# rm javac > vladdy:/usr/bin# ln -s /opt/j2sdk1.4.2_04/bin/javac javac >=20 > and javac works fine thereafter... repeat as neccesary for java etc.. AFAIK, javac doesn't install symlinks in /usr/bin. Also, since you seem to want the package in a nonstandard prefix you should make sure to specify PREFIX as such when compiling the port. Kris --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCCVS6Wry0BWjoQKURAgZeAJ9w7lO5v0oEw/6SSTgCE37pj/bGLgCg7UHy SKNobw48xWoDoEBZZbbhp50= =KoV7 -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--