Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

JApplet System Access  RSS feed

 
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: 43009
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]?
 
You can thank my dental hygienist for my untimely aliveness. So tiny:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!