Bitcoin Forum
December 11, 2016, 02:34:11 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bouncy Castle help for a N00b :)  (Read 1237 times)
JollyGreen
Jr. Member
*
Offline Offline

Activity: 42


View Profile
February 24, 2011, 08:27:51 AM
 #1

So I have lots of programming experience in python and C/C++ and every other language except only a little in java Smiley

I downloaded bouncy castle and untared it, stuck the provider libraries in the appropriate directores and updated the java.security files.

I can build a simple Hello World .java app and run it, but I don't know how to setup the class paths etc... to build an app that includes other libraries.

Can someone help me build and test one of the test/example jar files?  I'm kind of clueless about java, so I don't know how to setup the paths for building apps that use the bouncy castle packages.

Help compiling crypto-146/test/src/org/bouncycastle/crypto/test/ECTest.java would be awesome!  I'm on Mac OSX and I think I can compile it fine using
javac ECTest.java

When executing java ECTest.class I get "Exception in thread "main" java.lang.NoClassDefFoundError: ECTest/class"

which I think is because it can't find SimpleTest, which that class extends.  I'm not sure how to make java find those classes/packages that this class depends on Smiley

Any help greatly appreciated Smiley

Want to donate?
1H6WepEWuJkicvfki8PSrEaT8SUnUHAJKs
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!