Recently I needed to run some .jar files. Unfortunately each time I ran them an information box would show up saying "The Java JAR file "name" could not be launched." as well as telling me to check console for error messages. So I tried completely removing java and reinstalling it and the error continued to happen. Finally I checked console and saw that each time I tried to open a .jar file it said "System Policy: deny(1) file-read-data)" in console.

Does anyone know what this error is and how I can fix it? Is it an issue with the jar launcher? Ive had it happen with multiple completely different jar files.

Thanks for the help.

  • Does it work if you run the jar file through the terminal using java -jar? – airsquared Jan 11 at 3:58

You must log in to answer this question.

Browse other questions tagged .