Hi David
Great~~ now I run java com.ibm.staf.TestJSTAF local PING PING will get
response

TestJSTAF using STAF handle 3
RC=0
Result=PONG

But I'll get a exception stack trace "java.lang.NoClassDefFoundError: Could
not initialize class com.ibm.staf.STAFHandle" when I try to open a STAF
machine in eclipse.(error message:Problems occurred when invoking code from
plug-in: "org.eclipse.jface".)
what's wrong with it?Thanks a lot

2010/8/25 David Bender <bda...@us.ibm.com>

> 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*<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=David+Bender>
> STAF/STAX Development
> IBM Software Group, WPLC
> 11501 Burnet Rd.
> Bldg. 903-5B002
> Austin, TX 78758-3400
> Phone (T/L): 1-512-286-5315 (363-5315)
> ITN: 23635315
> Email: *bda...@us.ibm.com* <bda...@us.ibm.com>
>
> ------------------------------
>
>
> [image: Inactive hide details for Cynthia Li ---08/24/2010 11:04:04 PM---Hi
> all I run STAF server by root user, and then I load STAF ed]Cynthia Li
> ---08/24/2010 11:04:04 PM---Hi all I run STAF server by root user, and then
> I load STAF editor via eclipse by
>
>
> 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* <http://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
>
>
>

<<ecblank.gif>>

<<graycol.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

Reply via email to