java - Can't create a runnable jar file via Eclipse -


i made java project eclipse. project has public static void main(string[] args) method in it. when try export runnable jar, launch configuration not include project created can't create jar project. ideas why?

try creating new launch configuration scratch:

  1. run -> run configurations...
  2. right click "java application" in list on left , select new
  3. on right enter descriptive name.
  4. in main tab browse project , search , select appropriate main class.
  5. close dialog.

now try exporting runnable jar again using run configuration.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -