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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -