keytool error when creating BKS keystore: providerpath is not a legal command
问题 I am trying to create a "bks" keystore using keytool (using terminal app on Mac OS X). I am following the instructions in: keytool error: java.security.KeyStoreException: BKS not found This is my usage: keytool -genkeypair -v -alias androiddebugkey -keyalg RSA -keysize 2048 -validity 10000 -keypass android -keystore /Users/djames/dropbox/bc146keystore/debug.keystore -storepass android -storetype BKS -providerclass org.bouncycastle.jce.provider.BouncyCastleProvider –providerpath /Users/djames