Print at Dec 20, 2025, 2:32:52 PM

Posted by Jarod_Yang at Apr 18, 2009, 2:42:00 AM
Re: IRC Channel
u4457331@n115lt23:~/Desktop/SweetHome3D$ ant build
Buildfile: build.xml

build:
[mkdir] Created dir: /home/u4457331/Desktop/SweetHome3D/build/classes
[javac] Compiling 2 source files to /home/u4457331/Desktop/SweetHome3D/build/classes
[javac] Compiling 151 source files to /home/u4457331/Desktop/SweetHome3D/build/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 175 files to /home/u4457331/Desktop/SweetHome3D/build/classes
[copy] Copied 15 empty directories to 1 empty directory under /home/u4457331/Desktop/SweetHome3D/build/classes
[zip] Building zip: /home/u4457331/Desktop/SweetHome3D/build/SweetHome3D.jar
[delete] Deleting directory /home/u4457331/Desktop/SweetHome3D/build/classes

BUILD SUCCESSFUL

It is OK until now. when i try to run the jar file there is the mistake
u4457331@n115lt23:~/Desktop/SweetHome3D$ cd build
u4457331@n115lt23:~/Desktop/SweetHome3D/build$ java -jar SweetHome3D.jar
Invalid or corrupt jarfile SweetHome3D.jar

I dont konw how to deal with it
Is there any step wrong?
my ant is the latest version

cheers
Jarod