• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

jarsigner: unable to open jar file

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys,

I am creating a key for a java program with the bellow comand:

keytool -genkey -alias chave -dname "cn=YaraTecnologia, ou=Autenticacao, o=Skackauskas, c=BR" -keystore "C:\Users\Administrator\Documents\NetBeansProjects\InJava" -keypass xxxxx5 -storepass xxxxx5 -validity 10000

And I try to sign the program with the follow command:

jarsigner -keypass xxxxx5 -storepass xxxxx5 -keystore "C:\chave" "C:\User\Administrator\Documents\NetBeansProjects\InJava\dist\InJava.jar" chave

But returns the follow error:

jarsigner: unable to open jar file C:\User\Administrator\Documents\NetBeansProjects\InJava\dist\InJava.jar

What must I to do for solve that error?

Thank very much.


 
    Bookmark Topic Watch Topic
  • New Topic