Search Results

Search: Posts Made By: girish.sh
39,336
Posted By girish.sh
Thanks Grial/Vino for the help.
Thanks Grial/Vino for the help.
39,336
Posted By girish.sh
Or is it possible that the Parent script that...
Or is it possible that the Parent script that calls child script have the custom messages defined for each exit code and child class just return those codes?

Like:

In parent class i will define...
39,336
Posted By girish.sh
Thanks Grial, Like <N>, can...
Thanks Grial,

Like <N>, can we set custom messages also for these ?
39,336
Posted By girish.sh
But i guess there are some system define exit...
But i guess there are some system define exit codes also...can we change them also? how we know that which exit codes are available for change from the range of 1-255?
39,336
Posted By girish.sh
Vino, Can we define exit status...
Vino,

Can we define exit status intereger values for our purpose excpet 0?

like can i set exit status:

"1" for error occured because of reason #1
"2" for error occured because of...
39,336
Posted By girish.sh
Thanks Vino. I have one more query, if one...
Thanks Vino.

I have one more query, if one script calls another script, can the calling script get the return code from called script? return code maybe boolean or integer.
39,336
Posted By girish.sh
Yes but from shell script, we call class like...
Yes but from shell script, we call class like path/to/java classname

so if i want to call method classMethod, call will be like this?

"path/to/java classname.classMethod()"
39,336
Posted By girish.sh
Also, how to call the methods of the class??
Also, how to call the methods of the class??
39,336
Posted By girish.sh
Vino, Thanks for your reply but can u...
Vino,

Thanks for your reply but can u explain the CLASSPATH part of it??

Thanks,
Girish
39,336
Posted By girish.sh
How to call Java classes/methods from ksh
Hi all, i am new to shell scripts and have one doubt.

Can we call ava classes/methods from shell scripts? if yes how?
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 01:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy