I tried to run the SweetHome3D-3.3.jar file and it runs perfectly from command line using the command as before.
It even runs without the -Djava.ext.dirs option. [;)]
If you want to make your program work as SweetHome3D Jar executable, study how it is built with jarExecutable Ant target.