Whenever I want to export a project of mine to a runnable jar it asks for the main class, but the problem is that there is every main class I ever created (and by now deleted a long time ago) in the list blowing the list up like crazy... How do I delete the cache or what ever for this list?
Asked
Active
Viewed 222 times
1
-
Is this the `Launch Configuration` combo you are talking about or something else? – greg-449 Feb 04 '14 at 11:55
1 Answers
0
If you plan to do this more often then you should automate it.
I recommend creating a script for that. You can generate runnable jars with Ant and Maven alike. It is not a big deal. See this question for Ant using the manifest
element of the jar
task, or see this question for Maven using the maven-assembly-plugin
.

Community
- 1
- 1

Peter Kofler
- 9,252
- 8
- 51
- 79