Will this work?
// windows only
Process p = Runtime.getRuntime().exec("cmd /c start cmd.exe");
p.waitFor();
More Related Contents:
- What’s a good Java, curses-like, library for terminal applications? [closed]
- How to open the command prompt and insert commands using Java?
- How to use “cd” command using Java runtime?
- Java Linux Terminal in JPanel
- how to run a command at terminal from java program?
- How can I check if a Java program’s input/output streams are connected to a terminal?
- Mac OSX Java Terminal version incorrect
- How to create a .jar file using the terminal
- Launch Minecraft from command line – username and password as prefix
- Print in bold on a terminal
- How to open a command terminal in Linux?
- Scanner vs. BufferedReader
- Only using @JsonIgnore during serialization, but not deserialization
- Why double width = 50/110000; the output is 0.000000000000000?
- How to convert milliseconds to “hh:mm:ss” format?
- Selenium many Logs (How to remove)
- Calculating difference in dates in Java
- Get the changed HTML content after it’s updated by Javascript? (htmlunit)
- Load resource from anywhere in classpath
- Java floating point high precision library [closed]
- Programmatically Import CA trust cert into existing keystore file without using keytool
- @OneToMany and composite primary keys?
- Hashmap concurrency issue
- Load arrayList data into JTable
- Spring can’t autowire Map bean
- How to downgrade Java from 9 to 8 on a MACOS. Eclipse is not running with Java 9
- How do I give Jenkins more heap space when it’s running as a daemon on Ubuntu?
- JpaRepository caches newly created object. How to refresh it?
- java timer task schedule
- What is the algorithm for finding the center of a circle from three points?