From owner-freebsd-mobile@FreeBSD.ORG Thu Feb 1 22:45:12 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C09F16A400 for ; Thu, 1 Feb 2007 22:45:12 +0000 (UTC) (envelope-from ceco108@gimail.af.mil) Received: from athena.hrdnet.com (athena.hrdnet.com [208.194.177.119]) by mx1.freebsd.org (Postfix) with ESMTP id 2886813C471 for ; Thu, 1 Feb 2007 22:45:12 +0000 (UTC) (envelope-from ceco108@gimail.af.mil) Received: from gimail.af.mil (unverified [208.194.177.29]) by athena.hrdnet.com (Vircom SMTPRS 4.35.480.0) with ESMTP id for ; Thu, 1 Feb 2007 17:43:57 -0500 X-Modus-BlackList: 208.194.177.29=OK;ceco108@gimail.af.mil=OK X-Modus-Trusted: 208.194.177.29=YES Message-ID: <24af73f0e96946c79029bc68eb142886.ceco108@gimail.af.mil> X-EM-APIVersion: 2, 0, 0, 8 X-Priority: 3 (Normal) From: "Cecil" To: freebsd-mobile@freebsd.org Date: Thu, 1 Feb 2007 17:29:56 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: What did I do wrong when I set the CLASSPATH?? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 22:45:12 -0000 Hello all, I have installed Sun JDK1=2E6=2E0 on my FreeBSD 6=2E2 laptop, and I cant seem to get the CLASSPATH set right in my =2Eprofile file=2E I really need to know the syntax of using the wildcard * to open folders in the CLASSPATH variable to cutdown on all the typing= =2E Can I do the following: CLASSPATH=3D$CLASSPATH:=2E/:/usr/local/jdk1=2E6=2E0/*=2Ezip:/usr/local/jdk1=2E6=2E0/lib/*/*=2Ejar; export CLASSPAT= H PATH=3D/usr/local/jdk1=2E6=2E0/bin:/usr/local/jdk1=2E6=2E0/jre/bin:/sbin:/bin:/usr/sbin:/= u sr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin; export PATH JAVA_HOME=3D/usr/local/jdk1=2E6=2E0/jre; export JAVA_HOME CLASSPATH=3D/usr/local/jdk1=2E6=2E0/:/usr/local/jdk1=2E6=2E0/lib/:/usr/local/jdk1=2E6=2E0/jre= / lib/:/usr/local/jdk1=2E6=2E0/lib/applet/:/usr/local/jdk1=2E6=2E0/lib/audio/:/usr/local/= j dk1=2E6=2E0/lib/cmm/:/usr/local/jdk1=2E6=2E0/lib/deploy/:/usr/local/jdk1=2E6=2E0/lib/deskto= p /*:/usr/local/jdk1=2E6=2E0/lib/ext/*:/usr/local/jdk1=2E6=2E0/lib/fonts/*:/usr/local/jdk= 1 =2E6=2E0/lib/i386/*:/usr/local/jdk1=2E6=2E0/lib/im/*:/usr/local/jdk1=2E6=2E0/lib/images/*:/= u sr/local/jdk1=2E6=2E0/lib/locale/*:/usr/local/jdk1=2E6=2E0/lib/management/*:/usr/local/= j dk1=2E6=2E0/lib/oblique-fonts/*:/usr/local/jdk1=2E6=2E0/lib/security/*:/usr/local/jdk1=2E= 6 =2E0/lib/zi/*; export CLASSPATH $ which java_vm /usr/local/jdk1=2E6=2E0/jre/bin/java_vm $ java -version java version "1=2E6=2E0" Java(TM) SE Runtime Environment (build 1=2E6=2E0-b105) Java HotSpot(TM) Client VM (build 1=2E6=2E0-b105, mixed mode) But when I test the libraries I get this: $ jconsole Exception in thread "main" java=2Elang=2EUnsatisfiedLinkError: /usr/local/jdk1=2E6=2E0/jre/lib/i386/xawt/libmawt=2Eso: libXext=2Eso=2E6: cannot open shared object file: No such file or director= y What did I do wrong when I set the CLASSPATH??