java - Package plink with jar -


i have written code (java using eclipse juno) uses plink (c: installation) connect remote server.

string command = "c:\\program files\\putty\\plink -load session-name -l login -pw password"; process p = runtime.exec (command); 

is there anyway can safely export (putty/plink) along jar file. there not need of separate installation. have alter code call plink locally.

thanks.

use jar utility comes java sdk package putty executables application jar file.

upon installation can extract exe file folder. , later call code.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -