PDA

View Full Version : opening .jar file




notwist
Apr 8, 2008, 07:43 PM
I installed the Bouncey Castle java cryptography libraries but I can't open up the .jar file on the website since I would like to read the documentation.
The files are at http://www.bouncycastle.org/latest_releases.html.
When I try opening the .jar using Jar Bundler, nothing happens. What is wrong?



wrldwzrd89
Apr 9, 2008, 06:55 AM
The jar file is probably a class library, and cannot be launched with a double-click. Also, the documentation is a separate download from the release.

That said, look in the Console for any error messages. This can be found in your Utilities folder.

jeremy.king
Apr 9, 2008, 10:13 AM
The documentation is at http://www.bouncycastle.org/documentation.html

You could also download the zip file for Source and Documentation. The jar file isn't a runnable jar - it's meant to be included in the classpath of whatever you are writing.

pilotError
Apr 9, 2008, 10:18 AM
jar -tvf <jarfile> should give you a listing of what's in it.

jar -xvf <jarfile> will extract everything in the jar file.

Hope that helps...