Quote Originally Posted by jmcilhinney
You cannot directly access a Jave class in your .NET app. You can execute any executable, Java or otherwise, using Process.Start, but you cannot access Java objects directly within your .NET code. You can create a ProcessStartInfo object and set its RedirectStandardOutput to True, pass it to Process.Start and save the Process object it returns, then read from the StandardOutput stream of the Process. You should read about the Process and ProcessStartInfo classes.
I see. That really what I want to do.

But I have another question.
How can I check whether a JRE program is installed in the machine from the vb.net program?
Or I can only check the environment variables "JAVA_HOME" instead?