About 3,580,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 - 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 …

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

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

    79 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 …

  5. java - Viewing contents of a .jar file - Stack Overflow

    Nov 26, 2008 · 34 jar -tvf file_name.jar above will only print names of the files. To view the content of files, you can extract the files in a folder by: jar -xvf file_name.jar this will unzip jar file & put …

  6. java 'jar' is not recognized as an internal or external command

    Mar 21, 2015 · The jar command in command line is used in order to create a JAR file. For example: jar cf jar-file input-file(s) See more at: Oracle docs If you want to run the existed JAR …

  7. java - How to build a jar using Maven? - Stack Overflow

    Sep 1, 2011 · I want to build my project with Maven. How do I do that? Maven is installed, the project is called Sertsu1 it contains a pom.xml-file What must be entered in the command line …

  8. Java using "-cp" and "-jar" together - Stack Overflow

    Aug 21, 2012 · Note that JAR files that can be run with the "java -jar" option can have their execute permissions set so they can be run without using "java -jar". Refer to Java Archive …

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

  10. How to include jar files with java file and compile in command …

    Feb 22, 2012 · I have 3 jar files and a .java file that depends on these jar files. How do I compile the .java file with these jar files using a command prompt?