Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JApplet System Access

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • 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: 43016
76
  • Mark post as helpful
  • send pies
  • 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]?
 
    Bookmark Topic Watch Topic
  • New Topic