You should execute it through an RPC server-side service, not in client Java code (which is compiled into Javascript). On Sat, Jul 4, 2009 at 6:38 PM, [email protected] < [email protected]> wrote:
> > Hi, i have a problem in my project. > I have to execute a dos command, a so i try the java code > Runtime.getRuntime().exec(cmd); > But when i run the application i get the following error: > > [ERROR] Line 125: No source code is available for type > java.lang.Runtime; did you forget to inherit a required module? > > what i have to do to fix this? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
