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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -