Jump to content
Excelsior Forums


  • Content count

  • Joined

  • Last visited

Everything posted by Finnerale

  1. Finnerale

    getResource() doesn't work

    Hi, I'm using the class.getResource() command to access the Jar resources but after compiling to an .exe its still targeting the .jar file. java.lang.NullPointerException file:/I:/test/JSPowerCalc.jar!/de/leopoldluley/calculator/fxml/jsCalc.fxml:22 And even I put the .jar in the right directory I get the NullPointerException! With the .jar in the directory it should be fine, but I still get the same exception... Is this a bug or is there any other way to access the resources in the .exe?