JDK
原创2022/4/1...小于 1 分钟
JDK
Oracle JDK
| Installation Scenario | Command |
|---|---|
| Install the public JRE in silent mode | jdk.exe /s |
| Install development tools and source code in silent mode but not the public JRE | jdk.exe /s ADDLOCAL="ToolsFeature,SourceFeature" |
| Install development tools, source code, and the public JRE in silent mode | jdk.exe /s ADDLOCAL="ToolsFeature,SourceFeature,PublicjreFeature" |
| Install the public JRE in the specified directory C:\test\ in silent mode | jdk.exe /s /INSTALLDIRPUBJRE=C:\test\ |
测试无效 /s即可