About 50 results
Open links in new tab
  1. java - How to make an executable JAR file? - Stack Overflow

    Mar 10, 2011 · A jar file is simply a file containing a collection of java files. To make a jar file executable, you need to specify where the main Class is in the jar file. Example code would be as follows.

  2. jar - How do I create executable Java program? - Stack Overflow

    Apr 30, 2009 · A jar file isn't really a standalone executable file. If you double click a jar file and the program runs, then it's opening the jar file in the java executable.

  3. java - Running JAR file on Windows - Stack Overflow

    You want to check a couple of things; if this is your own jar file, make sure you have defined a Main-class in the manifest. Since we know you can run it from the command line, the other thing to do is …

  4. How can I build JAR files from IntelliJ IDEA properly?

    The process of creating a JAR file of a module within Maven is fairly trivial, if you want it to include all the dependencies in a self-executable JAR file that is trivial as well.

  5. java - How to make a runnable jar file? - Stack Overflow

    Jul 6, 2012 · If you want to have a jar that you can execute using the usual syntax ./app.jar (instead of java -jar), here is a post explaining the process: how to create executable jars.

  6. Java creating .jar file - Stack Overflow

    Right-click the project and click Export, then select "Runnable JAR file" under the Java folder. Select the class name in the launch configuration, choose a place to save the jar, and make a decision how to …

  7. java - Creating runnable JAR with Gradle - Stack Overflow

    An executable jar file is just a jar file containing a Main-Class entry in its manifest. So you just need to configure the jar task in order to add this entry in its manifest:

  8. How do I make an executable file from an intellij idea project?

    Mar 21, 2020 · In addition, I also had to add the manifest file and my credentials to the jar archive to make everything work. Start asking to get answers

  9. How to convert "jar" to Linux executable file? - Stack Overflow

    Jun 8, 2017 · To make a jar file "executable" on Linux you need to open file Properities and in General section --> Open With --> click Change and add "java -jar" under Application Preference Order and …

  10. java - How can I convert a .jar to an .exe? - Stack Overflow

    Dec 2, 2010 · I want to convert a .jar to an .exe for microsoft. Is there any program converter for this? Also if there's one for Mac and Linux I would appreciate suggestions for those too.