Jarsigner: Only One Alias Can Be Specified

When trying to sign a jar file with Jarsigner, you get:

Jarsigner: Only one alias can be specified.

To fix this, put all the files you are using with the jarsigner switch in the working directory (the directory you are running the command from in the command prompt – i.e. The file path to the left of where you type in the command prompt). If you must reference other directories in the command line, try putting them in quotes or changing the directory names so there are no spaces in the name.

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)

One thought on “Jarsigner: Only One Alias Can Be Specified

  1. I tried this but still not working, and I cant understand exactly alias means. When I create the key I had to put 2 pass, 1 for for the key and 1 for the alias created, so what I should to write in the field?

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

Leave a comment

Your email address will not be published. Required fields are marked *