how to run a batch file from java using administrator privileges?
我想要做到這一點,但代碼不工作。 String cmd = "runas /profile /user:Administrator /cmd.exe /C certutil -addstore ROOT E:\\WORK\\UI\\DesktopRecorder\
與輪廓與file_read擴展屬性一長串運行java時,我收到以下錯誤: # pfexec /usr/jdk/instances/jdk1.8.0/bin/java -cp /vagrant HelloWorld
/usr/jdk/instances/jdk1.8.0/bin/java: Value too large for defined data type
當我與truss運行它,我看