How to Feng Shui Your Bedroom
Q&A for How to Create an Executable File from Eclipse
Coming soon
Search
-
QuestionWhat should I do if the executable file doesn't open?Community AnswerCheck if you exported JAR properly, defined all the paths, and launched configuration according to your main class. The JAR export might be damaged, in which case your .exe file wouldn't work.
-
QuestionIs it possible to wrap an appropriate version of JRE with the executable so that the end user doesn't need any JRE installed to run the program?Community AnswerYes. In Launch4j, under the JRE tab, it's the first field at the top.
-
QuestionWhere should I get a .ico file?Community AnswerYou can create a .ico file yourself with SIB icon editor, or download from the web.
-
QuestionWhen I try to launch, it just loads without doing anything. What should I do?Community AnswerCheck your version of Eclipse. If your version has a Package Explorer folder, then export your project to the run-able JAR file from the "Package Explorer" folder, not the "Project Explorer" folder. After that, follow all other steps as outlined in this article.
-
QuestionDoes every subclass branching off from the main get included too?Community AnswerEverything inside the project folder which you are extracting is included. Classes outside the folder only get a reference if they are linked with your content.
-
QuestionWhat do I do if I have created an .exe JAR file, but it is not showing an icon image?Community AnswerMake sure your icon dimensions are 256x256 and that the file format is .ico according to the instructions above. However, you will probably have to export JAR to .exe again.
-
QuestionHow do I save an executable file from Eclipse as a jar file?Community AnswerIn Project Explorer, right click on the project that you want to convert. Then click on Export and look out for JAR File in the JAVA Folder.
-
QuestionHow do I do the same thing for a Mac, which doesn't use exe files?Community AnswerUse keyboard shortcuts. Many Mac keyboard combinations use the Command (⌘) key. Learn more keys and keyboard shortcuts. Cut - Command-X. Copy - Command-C. Paste - Command-V. Undo - Command-Z. Print - Command-P. Close window - Command-W. Switch apps - Command-Tab. Quit app - Command-Q. Forward delete - Fn-Delete or Find files - Command–Space bar. Force quit app - Option-Command-Esc. Take screenshot - Shift-Command-3.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit