How would you know if the JRE is on the client machine or not? And if it's not, how do you get it there?
Type: Posts; User: javapenguin
How would you know if the JRE is on the client machine or not? And if it's not, how do you get it there?
Say I had a file called file.jar, how would I pass that using the Runtime.getRuntime() and Process exec() method then?
I tried the Runtime.getRuntime() and the Process exec() method, but it said that the jar wasn't a valid Win 32 Application. So what should I do instead of going the route like I would with an .exe?