executing JAVA from 'system' command
I'm trying to run a simple java command as mentioned below from 'system' command in a c++ dll loaded on to WMI service
java -classpath C:\temp helloworld.class
I have jre 1.6 installed on the machine. This command works fine from my command prompt. the java path is also set in PATH environment variable. But, the above command does not work with 'system' command
I was told that JAVA path is not set in PATH in non-interactive environment.
Any pointers please?