G
Grzesiek
Hi,
Here is my problem. I can write:
Runtime.getRuntime().exec("java -jar app.jar");
but suppose I have only Java Runtime Enviroment and app.jar. So i
can't type
java -jar app.jar
because i don't have JDK
I can't type
Runtime.getRuntime().exec("app.jar");
either.
But i can run app.jar in command line typing
app.jar
My question is: How to run app.jar from code without using JDK? Can
Runtime be useful here?
Thanx
Here is my problem. I can write:
Runtime.getRuntime().exec("java -jar app.jar");
but suppose I have only Java Runtime Enviroment and app.jar. So i
can't type
java -jar app.jar
because i don't have JDK
I can't type
Runtime.getRuntime().exec("app.jar");
either.
But i can run app.jar in command line typing
app.jar
My question is: How to run app.jar from code without using JDK? Can
Runtime be useful here?
Thanx