Use this.... Command Line: java -cp /aplic/ARS/www/lib/sacrmvirtual.jar "123" "123456789"; ??? It doesn't work... Thanks
Tadeu Augusto Dutra Pinto ----------------------------------------------------------------- IT Web Services ATM Cinq Technologies http://www.cinq.com.br <https://webmail.cinq.com.br/exchweb/bin/redir.asp?URL=http://www.cinq.com.br/> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Fone: 41 3018-2833 - Cinq ----------------------------------------------------------------- Confiabilidade, Inovação e Qualidade em T.I. ________________________________ De: Action Request System discussion list(ARSList) em nome de [EMAIL PROTECTED] Enviada: qua 13/8/2008 12:06 Para: [email protected] Assunto: Re: Java code (.jar) via Run Process ** Use this java -cp %CLASSPATH% etc etc ! -----Original Message----- Date: Wed, 13 Aug 2008 17:03:22 +0200 Subject: Java code (.jar) via Run Process From: Tadeu Augusto Dutra Pinto <[EMAIL PROTECTED]> To: [email protected] ** Hi, How can I execute a java code (.jar) via Run Process ??? 1) I tried to do a 'Set Fields' action, where there is: Fields: Name: tmpField Value: $PROCESS$ /aplic/ARSD3/www/lib/sacrmvirtual.jar 123 $CpfCnpj$;echo $? This return "1" to tmpField 2) I tried to create a 'Run Process' action, where there is: Command Line: /aplic/ARS/www/lib/sacrmvirtual.jar "123" $CpfCnpj$; Both commands execute successfully... But my java code (that creates an entry on another form) does not work... Anyone knows what is going on? Am I writing the Run Process command right?? Is it necessary to put ("") in my values? Such as "123", or "$CpfCnpj$", etc... I'm using: AR Server 7.0.01 P 7 AR User 7.0.00 P 1 AR Admin 7.0.00 P 1 Eclipse 3.0 (Java 1.3) Oracle DB 10g Thankx a lot Tadeu Augusto Dutra Pinto ----------------------------------------------------------------- IT Web Services ATM Cinq Technologies http://www.cinq.com.br [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Fone: 41 3018-2833 - Cinq ----------------------------------------------------------------- Confiabilidade, Inovação e Qualidade em T.I. __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___ __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

