Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Keystore Keytool

  1. #1
    Junior Member
    Join Date
    Feb 2021
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Keystore Keytool

    I am so new to this I am not sure what or how to ask. I built an app on a free site and to distribute it on play store, I need a keystore file. When I try to create the keystore file from my command prompt I get this error message. 'keytool' is not recognized as an internal or external command, operable program or batch file.

    Does anyone know how I can generate a keystore file. Java is installed on my computer, running Windows 7 Pro.

    Thanks in advance for your help.

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Keystore Keytool

    'keytool' is not recognized as an internal or external command,
    The OS can not find the keytool program. Is there one on your system?
    If it is part of the java SDK package then it is probably in the \bin folder.
    To use any program that the OS does not know the location of, use the full path to the program on the commandline:
    C:\Program Files\Java\jdk1.8.0_60\bin\javac.exe -cp .;D:\JavaDevelopment -Xlint -Xdiags:verbose TestCode26.java
    The full path to the javac.exe file to do a compile.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Need to create stashed file of p12 keystore
    By shuklasan78 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: December 7th, 2017, 01:42 PM
  2. Issues with extracting the private key from keystore
    By nisha27 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: February 26th, 2013, 03:29 AM
  3. Issues with extracting the private key from keystore
    By nisha27 in forum Member Introductions
    Replies: 0
    Last Post: February 21st, 2013, 03:28 AM
  4. Can I use keytool generated certificate in IIS server?
    By Veronica in forum Java Networking
    Replies: 1
    Last Post: May 7th, 2012, 11:35 AM
  5. KeyStore.getInstance("Windows-MY") : Equivalent on Linux plateform ?
    By Nicolas74100 in forum Java Theory & Questions
    Replies: 1
    Last Post: November 14th, 2010, 03:49 PM

Tags for this Thread