Thanks. It works fine, buts I have a problem when I try to run java class
files.
For example,
this works:
c:/jdk1.2.2/bin/java Mensajeria
but this doesn't work
c:/jdk1.2.2/bin/java -cp c:/Temporal/ProcesosBatch;%CLASSPATH% Mensajeria
(in dos window, it always work)
Do you know how i can do it?
Thanks for all.
>
> Hi,
>
> First get the Runtime object then use its exec method to run your .exe
> application.
>
> Runtime r = Runtime.getRuntime();
> r.exec("notepad");
>
> Note : notepad.exe should be in the system Path.
>
> Hope this helps you.
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets