Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Importing a package

 
George Bock
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey all,

I hava a simple problem, but would appreciate if you could reply as soon as possible. particularly I am trying to compile code including following line:

import org.bouncycastle.crypto.digests.SHA1Digest;

But I get an error, saying: " The import import org.bouncycastle.crypto.digests.SHA1Digest; cant be resolved
".

What can I have done wrong ?

Thanks.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is SHA1Digest.class under the correct directory hierarchy (org > bouncycastle > crypto > digests)?

Which directory are you compiling from? And what classpath are you using?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic