1

As the title says, my jar file don't executes when i double click on it.

Before I updated the JRE and exported the runnable jar file it worked perfectly fine.

But after the update when i extracted the same project not a single line of code runs.

I have tried the existing answers here with no luck so i decided to ask my own question. My project is a game with pictures, music and textfiles and yes they have the same paths from the working jar.

Regards

Edit:

So i moved my project to a new computer with JDK 1.8.0.77 and extracted a runnable jar file but without any difference. However on this computer I can extract another project containing pictures etc and it's working perfectly fine.

The problem might be in my code then but the error must be early because no display comes up and the process doesn't show under processes. How can i debug jar files?

Viktor Lindblad
  • 100
  • 1
  • 9

1 Answers1

0

So the problem was my code all along, one of my 100 classes was creating a textfile and it seems like the jar file crashes when it did.

Sorry for taking up your time but I appreciates your answers. Now I have better understandings using JRE/JDK and jar files.

Thanks

Viktor Lindblad
  • 100
  • 1
  • 9