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
Fone: 41 3018-2833 - Cinq
-----------------------------------------------------------------
Confiabilidade, Inovação e
Qualidade
em
T.I.

