Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Runtime.getRunt...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 15978 of 16269
Post > Topic >>

Runtime.getRuntime();

by zamba <CRISTIAN_FERRERO@[EMAIL PROTECTED] > Apr 16, 2008 at 09:24 AM

Hi. i'm running under solaris 10 ... and i have this problem:

running an external aplication from command line in s.o works fine and
no cpu consume.
running from java with runtime.exec the same sh it eats my 85% of cpu

Runtime rt = Runtime.getRuntime();
        try {
                Process proc = rt.exec("/opt/ANTHaxfov42/bin/XSLCmd -
i /opt/
ANTHaxfov42/etc/XfoSettings.xml -d "+ full_xml_file + " -s " +
full_xsl_file +  " -o " + full_pdf_file + " -silent");
        } catch (IOException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
        }

any ideas ?

tks !!!!!
 




 3 Posts in Topic:
Runtime.getRuntime();
zamba <CRISTIAN_FERRER  2008-04-16 09:24:30 
Re: Runtime.getRuntime();
Daniel Pitts <newsgrou  2008-04-16 17:24:10 
Re: Runtime.getRuntime();
Hendrik Maryns <gtw37b  2008-04-17 13:04:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:07:06 CDT 2008.