Can you try restarting Eclipse and see if that resolves the problem?  We
had another user report that error in the following mailing list thread,
and it was resolved by restarting Eclipse:

http://sourceforge.net/mailarchive/message.php?msg_id=OF46169502.DC0B0B29-ON86257623.004B7DF4-86257623.004BDFA9%40us.ibm.com


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:         David Bender/Austin/i...@ibmus                            
                                                                       
  Cc:         staf-users@lists.sourceforge.net                         
                                                                       
  Date:       08/26/2010 01:30 AM                                      
                                                                       
  Subject:    Re: [staf-users] couldn't run STAF editor with none root user
                                                                       





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




  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 edCynthia 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
  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






------------------------------------------------------------------------------

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

Reply via email to