About 5,870,000 results
Open links in new tab
  1. java - Extracting .jar file with command line - Stack Overflow

    Dec 10, 2011 · I am trying to extract the files from a .jar file. How do I do that using command line? I am running Windows 7

  2. 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 …

  3. java - How to run a JAR file - Stack Overflow

    Dec 4, 2016 · 11 If you don`t want to create a manifest just to run the jar file, you can reference the main-class directly from the command line when you run the jar file. java -jar Predit.jar …

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

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

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

    78 If you need to distribute your .jar file and make it runnable at other people's Windows computers, you can make a simple .bat file like this in the command prompt: java -jar …

  6. Could not find or load main class with a Jar File - Stack Overflow

    I'm trying to load a jar using @echo off java -jar Test.jar pause With the manifest of Manifest-Version: 1.0 Main-Class: classes.TestClass In the Jar directory, I can clearly see a …

  7. Including all the jars in a directory within the Java classpath

    Jun 8, 2017 · Using Java 6 or later, the classpath option supports wildcards. Note the following: Use straight quotes (") Use *, not *.jar Windows java -cp "Test.jar;lib/*" my.package.MainClass …

  8. 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 …

  9. How to open/run .jar file (double-click not working)?

    33 I can't open or run my .jar file. I just installed java, but I tried to open the .jar with other programs first, so the double-click defaults to something else and I can't change it back. java …

  10. jar - Use of the MANIFEST.MF file in Java - Stack Overflow

    Oct 7, 2012 · I noticed that JAR, WAR and EAR files have a MANIFEST.MF file under the META-INF folder. What is the use of the MANIFEST.MF file? What all things can be specified in this file?