Hi, In the non-root environment, verify that environment variable LD_LIBRARY_PATH (or LIBPATH on AIX, IBM i, and z/OS systems, SHLIB_PATH on HP-UX systems, DYLD_LIBRARY_PATH on Mac OS X) includes the STAF lib directory (i.e. /usr/local/staf/lib, if that is where you installed STAF).
Thanks, David David Bender 11501 Burnet Rd. Phone (T/L): 1-512-286-5315 STAF/STAX Development Bldg. 903-5B002 (363-5315) Austin, TX ITN: 23635315 IBM Software Group, 78758-3400 Email: bda...@us.ibm.com WPLC From: Cynthia Li <cynthia...@icebreakersoftware.com> To: staf-users@lists.sourceforge.net Date: 08/24/2010 11:04 PM Subject: [staf-users] couldn't run STAF editor with none root user Hi all I run STAF server by root user, and then I load STAF editor via eclipse by none-root user.An error has occurred that See error log for more details.no JSTAF in java.library.path If I run java com.ibm.staf.TestJSTAF local PING PING with non-root user,I'll get exception as following Exception in thread "main" java.lang.UnsatisfiedLinkError: no STAF in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at com.ibm.staf.STAFHandle.<clinit>(STAFHandle.java:119) at com.ibm.staf.TestJSTAF.main(TestJSTAF.java:36) Anyone could tell me what's wrong?How to configure my STAF environment? ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users
<<inline: graycol.gif>>
<<inline: ecblank.gif>>
------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users