G
Grzesiek
Hi,
I have 2 files in my project : App.java and Foo.java. App is the main
class.
In App.java i have a line:
Runtime.getRuntime().exec("jar cfe Foo.jar Foo Foo.class");
Then, I created a jar file App.jar
Running App.jar creates Foo.jar. But Foo.jar contains only manifest
file and no class. What is wrong?
Thnax in advance
I have 2 files in my project : App.java and Foo.java. App is the main
class.
In App.java i have a line:
Runtime.getRuntime().exec("jar cfe Foo.jar Foo Foo.class");
Then, I created a jar file App.jar
Running App.jar creates Foo.jar. But Foo.jar contains only manifest
file and no class. What is wrong?
Thnax in advance