when i am executing cmd commands through java ,even though we are having tns name its throwing the following error
ERROR:
ORA-12154: TNS:could not resolve service name


Plz help!!!

when i am executing cmd commands through java ,even though we are having tns name its throwing the following error
ERROR:
ORA-12154: TNS:could not resolve service name


Plz help!!!

Could you please post some code?
What commands are you trying to call?