Can't create a runnable jar file via Eclipse
问题 I made a Java project with Eclipse. The project has a public static void main(String[] args) method in it. When I try to export it to a runnable jar, the launch configuration does not include the project I created so I can't create the jar for the project. Any ideas why? 回答1: Try creating a new launch configuration from scratch: Run -> Run Configurations... Right click "Java Application" in the list on the left and select New On the right enter a descriptive name. In the Main tab browse for