java web start to spawn a process -


i have java webstart application should use on lan private network website not public usage. trying spawn command line window through webstart application calling api

 runtime.getruntime().exec("cmd.exe /c cd \""+strgenfolder+"\" & start cmd.exe /k \""+strcommandparas1+" \"");    

this works fine without webstart through jar file in webstart not give error nor crash doesn't work @ all. please correct me if there way spawn process in webstart though have given permission in jlnp file.

<security>     <all-permissions/> </security> 

i don't have experience in webstart bear me if talking silly. guidance can me better

the cache in windows make problem in running correct version of jws, solve have delete cache folder.

go in following directory c:\users\ssc1\appdata\locallow\sun\java\deployment , remove cache folder. refresh web page , run webstart, show updated version of jws app.


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -