NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

no JSTAF in java.library.path?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
janpla



Joined: 26 Aug 2010
Posts: 54

PostPosted: Mon Oct 18, 2010 3:20 am    Post subject: no JSTAF in java.library.path? Reply with quote

I have posted this one before, a short while ago, but I didn't really find a slution:

I have created a class (infauser), which uses stuff in a package provided by IBM called com.ibm.staf, which is provided by a file called JSTAF.jar - this file has been included in a library in NetBeans, which I have added to the project's libraries. When I refer to functionality in this package, it all seems to check out (i.e. no little error marks in the editor).

I have now created a JUnit test class (infausertest) for this class, and this one also seems to be fine in the editor, but when I try to run the test, it fails with:

no JSTAF in java.library.path

I an previous post I was told that I should add the library to the test libraries as well as the application libraries; it seemed to be working, briefly, but now it comes back with the same error. This time I have included the JSTAF.jar everywhere:

- Under infastaf-ejb/Test Libraries
- In "options" of "Test Packages", tabs "Compile", "Compile Tests" and "Run Tests".

- but no change. Maybe I'm just too stupid; how can I proceed from here? Are there any traces or something that I can run?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo