i tried by giving class name also. but it is still not invoking that.
#!/bin/sh path/to/java test
its giving error as : path/to/java: not found
could you suggest on this? Regards.
Joined: Sep 02, 2008
If java is properly installed on your system, it should suffice to only type 'java'. You can check this by typing 'java -version'. If you receive some information about your JVM you're fine. Otherwise, check whether your 'path/to/java' is actaually a path to the java binary. If so, it usually looks something like 'path_to_java_install_dir/bin/java'. [ October 15, 2008: Message edited by: Thomas Thevis ]