Forum Stats

  • 3,728,151 Users
  • 2,245,559 Discussions
  • 7,853,355 Comments

Discussions

'$' is not recognized as an internal or external command

30559ebd-27f2-4e9c-95a2-e89ea353b29f
edited May 2016 in New To Java

I am trying to create an Android private key as per the PhoneGap doc . .

http://docs.build.phonegap.com/en_US/signing_signing-android.md.html#Android%20Signing

I have downloade /installed Java [jdk1.8.0_92 Window10] and set the JAVA_HOME environment variable [C:\Program Files\Java\jdk1.8.0_92] but when I try and run the following at the command prompt . .

$ keytool -genkey -v -keystore pagination_design_services.keystore -alias pdskey -keyalg RSA -keysize 2048 -validity 10000

I get the following error??

================================================

Microsoft Windows [Version 10.0.10586] (c) 2015 Microsoft Corporation. All rights reserved.

C:\Users\user>$ keytool -genkey -v -keystore pagination_design_services.keystore -alias pdskey -keyalg RSA -keysize 2048 -validity 10000

'$' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\user>

================================================

Any clues?

Thanks

Stephen D

Answers

This discussion has been closed.