如何在Ubuntu使用keytool在Oracle中的JDK 7?
问题描述:
我需要一个MD5证书图形页面android系统中使用。我有JDK 7从Oracle安装。但运行
I need a MD5 certificate to use in MapView in android. I have JDK 7 from Oracle installed. But running
keytool -v -list -alias alias_name -keystore my-release-key.keystore
是不是给我的结果,而是说要安装的OpenJDK。如何使用Oracle JDK 7的密钥工具,我在Ubuntu 12.04 64位。
is not giving me the result, instead it says to install openjdk. How to use the keytool in oracle jdk 7. And i am on ubuntu 12.04 64 bit.
答
您可以通过执行此操作使用keytool:
You can use keytool by doing this:
cd /usr/lib/jvm/jdk1.7.0/bin
./keytool -v -list -alias alias_name -keystore my-release-key.keystore
的Keytool不在默认的路径,但它并不一定要在路径是可用的。
Keytool is not in your path by default, but it does not have to be in your path to be usable.