How to retrieve the path of Java bin directory in AIX (or any unix OS)??
Actually my problem is,
I have a jar file called App.jar. I want to execute it by calling the javaw executable.
My command is "/usr/java130/javaw -jar App.jar".
I've written this command into a shell script. Now, when I run this shell script in another machine, the command fails because of the different java path.
My question,
How to find the Java Path programmatically ??
Dows java installer create any environmental varibles for the path ??
Thanks & Regards
Karthik