Eclipse not exporting

Hey, my eclipse has stopped exporting my project correctly meaning that the jar stops working at least on my computer. I have exported this project numerous times before but one day after not changing anything, it just stopped. (this is especially ironic because it was such a large update :emo:) i then tried to export another project and the jar ran fine. any ideas?

all i do id:
select the project (.classpath and .project too)
select the main class
and hit export

here is the jar (if it works for you consider it an early update ;)) Here

It could be a resource problem. Like the resources are not in the right place?

i’ve opened up the jar with winrar and all the resources and class files are in the correct place its just not running at all for seemingly no reason

Open a command line and navigate to the directory (folder) where the jar is, and run it with:

java -jar myjarname.jar

It will show any errors you are getting, like manifest issues, etc, which commonly appear as the jar simply not running.

[quote] I have exported this project numerous times before but one day after not changing anything, it just stopped. (this is especially ironic because it was such a large update ).
[/quote]
Both of these things can’t be true. Did you keep your jar settings the same but make a lot of code changes? If so, did you add any jars to your library or do you have a new entry point for the game?

Both of these things can’t be true. Did you keep your jar settings the same but make a lot of code changes? If so, did you add any jars to your library or do you have a new entry point for the game?
[/quote]
He meant he did not change eclipse!
[TEXT TO FILL IN SPACE TO QUALIFY FOR AT LEAST 10% OF TEXT THAT IS NOT QUOTE]

exactly it just stopped working for this specific project

Ok, it wasn’t clear to me. Are you using version control? If so, you could pull a snapshot of your project that was the last time you remember it working and re-run it. If not, just do what BurntPizza recommended which will give you a better clue as to what the error is.

No response in 4 days…yet no one pointed out that it doesn’t run because an “input == null” error occurs on an ImageIO.read(…) call?

but how would i fix that, does that mean that there is an error in my image finding

If input == null, then yes the resource is not found. Check if the path is correct. If you don’t know how to get URL’s properly in JAR files, search JGO for the millions of posts I and others have posted about the subject :slight_smile: