Forums Register Login

Shell script running jar file

+Pie Number of slices to send: Send
Hi Folks,

When i try run a jar file from shell script , i face some prob.

I have given this command in shell file - java -jar proc.jar arg1.arg1 arg2.arg2 arg3.agr3

My main class takes three argument. But somehow shell file is not taking arg3 in consideration. This command works well when i run it straight away at $ but shows some problem in shell script.

Any suggestion.

Regards,
Patricia Samuel

+Pie Number of slices to send: Send
Resolved. Last parameter in the script was having space and when property tries to load it, it does not find the value.

Thanks Anyways!!!
LOOK! OVER THERE! (yoink) your tiny ad is now my tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 3747 times.
Similar Threads
Transformer Exception -- Please help.
on process exec (String[] cmdarray)
linux cron task to invoke java class
Edit launch configuration properties wizard
Shell Script
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:19:56.