绝对好用,亲测。具体怎么用,Java直接用命令行调用就行, String str = "d:\\adtpcpro\\dp.exe";//安装目录 String source = "d:\\机械12.dwg";//dwg源文件 String out = "d:\\111.pdf";//生成的pdf路径+文件名 Process pro = Runtime.getRuntime().exec(str+" /InFile "+source+" /OutFile "+out); BufferedReader br = new