Creating Jar file - doesn't work on other computers
问题 I'm trying to package my program into a JAR file so it can be used on multiple computers. My program is composed of start.java , userinterface.java and writer.java . The program, written in Eclipse, works perfectly on my computer. When exported, it will work on my computer but cause the following error on other computers: "Could not find the main class: start. Program will exit". Again, my program runs fine on my computer when I double click on it. I've tried creating the JAR file via command