Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[Eclipse]: class Nodefound error

 
karan rajan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Im using Eclipse 3.0.
Im suffering from a problem. I have made a jar file with follwoing structure: test.jar : test\RSAKeyStore.class.
Now in my project i want to use it. MY project have bouth src folder and bin forlder.
proj\src\ - all java files that belongs to the project
proj\bin\ - all .class file wich is compiled from proj.

And imported in to the porject by including extenral jar files in build path.

Now in my one java file (int proj\src\prog.java) i want to create a RSAKeyStore object. But I cant, I get Exception, RSAKeyStore class is not found.
why ?? How can i use my class file in the proj.
I even tried to link as class folder, but still not working.

Can anybody help me..
Thanx
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Karan,
That means that Eclipse can't find the file at runtime. If you are using a Web or EJB project, you can solve this by adding the jar as a "java jar dependency" (in the properties menu.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic