Click here to Skip to main content
15,902,114 members
Home / Discussions / Java
   

Java

 
GeneralRe: response to the execution of an commande by code java Pin
jschell8-Jun-12 11:55
jschell8-Jun-12 11:55 
AnswerRe: response to the execution of an commande by code java Pin
jschell8-Jun-12 11:59
jschell8-Jun-12 11:59 
Questionjava Pin
ssachin5797-Jun-12 20:50
ssachin5797-Jun-12 20:50 
AnswerRe: java Pin
Richard MacCutchan7-Jun-12 21:56
mveRichard MacCutchan7-Jun-12 21:56 
GeneralRe: java Pin
Peter_in_27807-Jun-12 22:16
professionalPeter_in_27807-Jun-12 22:16 
GeneralRe: java Pin
Richard MacCutchan8-Jun-12 0:13
mveRichard MacCutchan8-Jun-12 0:13 
AnswerRe: java Pin
Paul Conrad8-Jun-12 8:15
professionalPaul Conrad8-Jun-12 8:15 
Questionproblem with jarsigner Pin
ahmadiss6-Jun-12 23:12
ahmadiss6-Jun-12 23:12 
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 :
Java
public 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();
        }
         
 

     }

in netbeens it write me BUILD SUCCESSFUL (total time: 1 second) but don't create the fiel of keystores
my goal is to create that with program

do you have any idea


thank you in advance
AnswerRe: problem with jarsigner Pin
Richard MacCutchan6-Jun-12 23:24
mveRichard MacCutchan6-Jun-12 23:24 
GeneralRe: problem with jarsigner Pin
ahmadiss6-Jun-12 23:52
ahmadiss6-Jun-12 23:52 
GeneralMessage Removed Pin
6-Jun-12 23:56
ahmadiss6-Jun-12 23:56 
GeneralRe: problem with jarsigner Pin
Richard MacCutchan7-Jun-12 4:57
mveRichard MacCutchan7-Jun-12 4:57 
GeneralRe: problem with jarsigner Pin
ahmadiss7-Jun-12 7:20
ahmadiss7-Jun-12 7:20 
Questionwhy i cant save the image? Pin
aelynne2-Jun-12 17:42
aelynne2-Jun-12 17:42 
AnswerRe: why i cant save the image? Pin
Paul Conrad2-Jun-12 17:59
professionalPaul Conrad2-Jun-12 17:59 
GeneralRe: why i cant save the image? Pin
aelynne2-Jun-12 18:02
aelynne2-Jun-12 18:02 
GeneralRe: why i cant save the image? Pin
Paul Conrad2-Jun-12 18:08
professionalPaul Conrad2-Jun-12 18:08 
GeneralRe: why i cant save the image? Pin
aelynne2-Jun-12 18:11
aelynne2-Jun-12 18:11 
GeneralRe: why i cant save the image? Pin
Paul Conrad2-Jun-12 18:15
professionalPaul Conrad2-Jun-12 18:15 
GeneralRe: why i cant save the image? Pin
aelynne2-Jun-12 18:17
aelynne2-Jun-12 18:17 
SuggestionRe: why i cant save the image? Pin
Paul Conrad3-Jun-12 17:31
professionalPaul Conrad3-Jun-12 17:31 
GeneralRe: why i cant save the image? Pin
aelynne3-Jun-12 17:35
aelynne3-Jun-12 17:35 
GeneralRe: why i cant save the image? Pin
Paul Conrad3-Jun-12 17:42
professionalPaul Conrad3-Jun-12 17:42 
GeneralRe: why i cant save the image? Pin
aelynne3-Jun-12 17:44
aelynne3-Jun-12 17:44 
GeneralRe: why i cant save the image? Pin
Paul Conrad3-Jun-12 19:19
professionalPaul Conrad3-Jun-12 19:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.