Forum Stats

  • 3,759,877 Users
  • 2,251,609 Discussions
  • 7,870,855 Comments

Discussions

runtime in sign applet (IE)

843798
843798 Member Posts: 24,864
edited Jun 30, 2001 5:48AM in Java Runtime Environment (JRE)
i wrote a sign applet calling an execution file (aaa.exe).
Is it possible to do that combining this applet( x.class )
and the execution file into a cab file(for building a sign applet)
and still work when I use Runtime.exec("aaa.exe").
If it is NOT possible to do so,
is there any other way to do this?

Comments

  • 843798
    843798 Member Posts: 24,864
    See it depends on ur requirements.Let me know wheather u want to run the applet in Browse or as an application through appletviewer.
    If case is first,then it is not possible.Applet can not read or do any operation with local system or where it is runing.Java provide a high level of security.How can you read ,write or execute any file through applet which is running in Browser.Then it will be easy to write a applet to crash your system files is n't it!! and more or less this applet will act as virus which can play with your system.Java does allow this.
    Let me know ur exact requirements.

This discussion has been closed.