Date: Thu, 1 Feb 2007 17:29:56 -0500 From: "Cecil" <ceco108@gimail.af.mil> To: freebsd-mobile@freebsd.org Subject: What did I do wrong when I set the CLASSPATH?? Message-ID: <24af73f0e96946c79029bc68eb142886.ceco108@gimail.af.mil>
next in thread | raw e-mail | index | archive | help
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??
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?24af73f0e96946c79029bc68eb142886.ceco108>