Saturday, August 15, 2009

PasswordSafe on OSX

I've been looking for a way to run PasswordSafe on OSX since I switched from Windows. Unfortunately, I couldn't get the Password Gorilla to run and I didn't really want to get into figuring out what's wrong. Then I remembered that PasswordSafe had released a Java version a while back. So you downlod the thing on OSX, run it and it doesn't work (on 10.5.7).

So I got down to the terminal commands to see what's up and found the error. It said

Cannot load 32-bit SWT libraries on 64-bit JVM

So... whatever, if you just find the right .jar and sub it in, you're probably good to go. This is true! Take

swt-3.5m6-cocoa-macosx-x86_64.zip

from here. Unzip it and place the SWT jar in

/Applications/PasswordSafeSWT.app/Contents/Resources/Java/

wiping out the SWT you have.

Then it will start just fine! The Java version is not pretty, but it does work on your real .psafe3 files. Definitely better than starting a VirtualBox every time you need a password...

5 comments:

sar said...

Thanks, that worked! Now I can do "real work"!

Daniel Rosenstark said...

Glad to hear it! And it's true, "getting stuff to run" is definitely as far from real work as possible. Unless you're a sys admin, I guess :)

Jason Sears said...

Much appreciated! Got it to work.

supermax said...

This still works, but the file you need is now swt-3.5-cocoa-macosx-x86_64.zip, which I found here:

http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.5-200906111540/swt-3.5-cocoa-macosx-x86_64.zip

Thanks for the encouragement to try Password Safe on Snow Leopard. It looks great - especially coming from Password Gorilla.

David J. H. said...

Thanks. I've been using PasswordSafe for years and have just upgraded to Snow Leopard. This tip saved my some troubleshooting time.