现在做个库存扫描的东西,遇到个问题
就要在扫描仪所在的机器上能够用JAVA 打开IE ,在这个IE打开的页面上进行操作数据

解决方案 »

  1.   

    Runtime.getRuntime().exec("cmd.exe /c start http://xxx.xxx.xxx");
      

  2.   

    或者 
    p = Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE");
      

  3.   

    单纯用java 打开IE吗?public class T
    {
    public static void main( String[] args ) throws Exception
    {
         // 我的在C盘下
         Process proc = Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\iexplore.exe");
         proc.waitFor();
        }
    }
      

  4.   

    process p= new process();
    p=Runtime.getRuntime().exec("你要打开的程序路径")