xml FileNotFoundException using slick2D library in java
问题 private ConfigurableEmitter emitter; File xmlFile = new File("ressources/emitter.xml"); emitter = ParticleIO.loadEmitter(xmlFile); If I launch the project in eclipse, everything will works fine, but after I export my project and use JarSplice to create a .jar file, when I launch the jar file using the command prompt, the program will crash launching a FileNotFoundException, saying it cannot find the path specified. java.io.FileNotFoundException: ressources\emitter.xml (The system cannot find