ZamielTheGreat
ZamielTheGreat

Reputation: 29

Java: jar files generated through eclipse dont run. Whats could the issue be?

Other jars run fine. The source files compile and work correctly, and I am using a JFrame as the GUI to be displayed.

The only thing I have selected in the wizard is "export java source files and resources".

When I try the same with "export all output folders for checked projects" AND "export java source files and resources" checked. It says "JAR finished export with warnings"

error:
Problem writing ninja1.0/bin/base.html
Duplicate entry: base.html

I have base.html in both the src and bin folders (don't see anything wrong with that <.<). And it isn't duplicated anywhere else in the project. What could the problem possibly be...?

Upvotes: 2

Views: 173

Answers (1)

Andrew Thompson
Andrew Thompson

Reputation: 168845

I believe you need an option more like 'Export as runnable Jar'.

Upvotes: 1

Related Questions