Yes, of course, the HelloWorld.class is put in the folder class. To be sure, I just tried out ant compile (before I had deleted the .class file).
In the main-method of the HelloWorld.java is only an
System.out.println("HelloWorld");
I know such questions have been posted a lot, but I read the answers to some and still got the same problem:
I can`t produce a simple jar-File:
Typing ant jar results in:
Buildfile: build.xml
init:
compile:
jar:
[jar] Warning: skipping jar archive AntHelloWorld\jar\HelloWorld.jar because...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.