aspose file tools*
The moose likes Beginning Java and the fly likes Importing a package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Importing a package" Watch "Importing a package" New topic
Author

Importing a package

giorgi moniava
Greenhorn

Joined: Apr 16, 2007
Posts: 2
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

Joined: Aug 31, 2004
Posts: 11343

Is SHA1Digest.class under the correct directory hierarchy (org > bouncycastle > crypto > digests)?

Which directory are you compiling from? And what classpath are you using?


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Importing a package