hello
I want to create a program that signs and verifing file with jarsigner
I succed to create .jar but the keystore not
here is my code :
in netbeens it write me BUILD SUCCESSFUL (total time: 1 second) but don't create the fiel of keystorespublic static void main(String[] args) { try { String[] dd = { "cmd.exe", "/C", "dir C:\\ >keytool-genkey-alias-keystore signLegal examplestanstore.jks" }; Process p = Runtime.getRuntime().exec(dd); BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream())); String inputLine; while ((inputLine = in.readLine()) != null) System.out.println(inputLine); }catch(Exception e) { e.printStackTrace(); } }
my goal is to create that with program
do you have any idea
thank you in advance