About 53 results
Open links in new tab
  1. java - How to run a JAR file - Stack Overflow

    Dec 4, 2016 · java -jar Predit.jar It raised "Failed to load main class" exceptions. So I extracted this JAR file:

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

    I have a JAR file named helloworld.jar. In order to run it, I'm executing the following command in a command-line window: java -jar helloworld.jar This works fine, but how do I execute it with dou...

  3. java - Что такое jar файл и зачем он нужен? - Stack Overflow на …

    Jun 20, 2017 · Вопрос такой что такое jar файл и зачем он нужен на практике. Ведь если есть файл java, есть файл class который уже переведен в байт-код, зачем тогда jar файл? Какая его …

  4. java - What exactly does a jar file contain? - Stack Overflow

    A jar file is basically a zip file containing .class files and potentially other resources (and metadata about the jar itself). It's hard to compare C to Java really, as Java byte code maintains a lot more metadata …

  5. Difference between java class and jar - Stack Overflow

    Apr 21, 2011 · A Jar file is an Zip archive containing one or multilple java class files. This makes the usage of libraries (consisting of multiple classes) more handy. Directories and Jar files are added to …

  6. java - Comparing two .jar files - Stack Overflow

    Oct 6, 2010 · How do I compare two .jar files? Both of them have compiled .class files. I want the difference in terms of method changes, etc.

  7. java - The simplest way to create a jar file? - Stack Overflow

    Jul 8, 2014 · A JAR file is nothing but a ZIP file with added meta-information for the Java Runtime Environment. So the easiest way is to actually zip your classes files including that META-INF folder …

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

    I'd like to create a JAR file, in a separate directory, that contains the compiled module. In addition, I would like to have the dependencies present beside my module. No matter how I twist IntelliJ IDEA's …

  9. How to create jar file with package structure? - Stack Overflow

    $ jar cvf asd.jar . to specify the directory (e.g. .) to jar from. That will maintain your folder structure within the jar file.

  10. How to run a jar file in a linux commandline - Stack Overflow

    Dec 6, 2014 · How to set the classpath to the current directory and also run the jar file named load.jar present in the current directory by providing the argument as load=2 from a linux command line. I did …