-   Programming (
-   -   executing java class from shell script (

Mundlamuri 02-09-2012 01:11 PM

executing java class from shell script
Hi All ,
I have a problem in my shell script. my script will execute java class. for the java class i need to send some system properties. so i have used following command in the shell script. but in my java code , i am not getting that system property . please help me.

java -D<proName>=<value> myClass


Mundlamuri 02-09-2012 01:18 PM

I have tried 'export JAVA_OPTS=${JAVA_OPTS} -D<propname>=<propValue>' this command also , but no luck... please help me.


All times are GMT -5. The time now is 02:01 PM.