这是我想通过Java打开ODBC桥的代码
代码:
try{
Runtime r = Runtime.getRuntime();
Process p = null;
try{
String s = "C://windows/System32/odbcad32.exe";
p=r.exec(s);
}catch(Exception ex){
System.out.println(ex.getMessage());
}
}catch(Exception ex)
{
System.out.println(ex.getMessage());
}
这是我面临的问题
Cannot run program "C://windows/System32/odbcad32.exe": CreateProcess error=740, The requested operation requires elevation