opening .jar file

Discussion in 'Mac Programming' started by notwist, Apr 8, 2008.

  1. notwist
    Expand Collapse
    macrumors regular

    Joined:
    Dec 29, 2006
    Location:
    New Brunswick, NJ
    #1
    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?
     
  2. wrldwzrd89
    Expand Collapse
    macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    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.
     
  3. jeremy.king
    Expand Collapse
    macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #3
    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.
     
  4. pilotError
    Expand Collapse
    macrumors 68020

    pilotError

    Joined:
    Apr 12, 2006
    Location:
    Long Island
    #4
    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...
     

Share This Page