• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JApplet System Access

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all, Im kind of stuck. I am attempting to call an executable from within an applet. Using:

The executable file runs some process on a database residing on the client machine and then writes some response text to the client machine.

When run normally from the command prompt. Everything runs ok.

How ever when i run it from the Applet using the above code. The browser just freezes.

Ive tried modifying the java.policy file in my jre as shown below:



I tried running some other executable files like notepad.exe, iexplore. No problem my applet calls them ok. However any attemp to call any program that uses the command prompt does not work.

I am out of ideas. Can anyone give me options.

Thanks
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you properly handling input and output of that process as [URL=http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps_p.html]described here[/url]?
reply
    Bookmark Topic Watch Topic
  • New Topic