About 480,000 results
Open links in new tab
  1. How do I run a Java program from the command line on Windows?

    Apr 22, 2013 · See java, PATH and CLASSPATH and this question Running Java Program From Command Line.

  2. java - Run jar file in command prompt - Stack Overflow

    May 23, 2017 · Thanks :) as a note, if your application uses a web framework there maybe more params that you have to pass in, for example with dropwizard... java -jar myapp.jar server xxx.yml Using …

  3. windows - Open jar file with cmd - Stack Overflow

    Jan 12, 2013 · 2 I have a jar file named "adventure.jar". When you run it through the cmd with java -jar adventure.jar it works fine. However, I am testing opening the file on a new computer, and I am …

  4. How to open the command prompt and insert commands using Java?

    Jan 14, 2011 · Is it possible to open the command prompt (and I guess any other terminal for other systems), and execute commands in the newly opened window? Currently what I have is this: …

  5. java 11 - How to install OpenJDK 11 on Windows? - Stack Overflow

    Sep 26, 2018 · 45 Use the Chocolatey packet manager. It's a command-line tool similar to npm. Once you have installed it, use choco install openjdk --version=11.0 in an elevated command prompt to …

  6. 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...

  7. java - Launch Minecraft from command line - Stack Overflow

    28 I'm trying to make a simple custom Minecraft launcher. According to the Minecraft Wiki page for the Launcher, it should be possible to run the Minecraft launcher using username and password prefixes …

  8. java - Extracting .jar file with command line - Stack Overflow

    Dec 10, 2011 · 16 You can use the following command: jar xf rt.jar Where x stands for extraction and the f would be any options that indicate that the JAR file from which files are to be extracted is specified …

  9. How to know the jdk version on my machine? - Stack Overflow

    First uninstall all the versions of Java, install Jdk 8. Open new command prompt and type java -version.

  10. command line arguments - What's the difference between --add …

    Mar 8, 2017 · So your code/jars in classpath can access public classes exported by module-info.java, but this one allows access to public classes which are not exported through module-info.java as well. …