你是配置jdk吗?
在环境变量path 配置你的jdk目录就可以了  例如 e:\yourjsk\bin
添加java_home 变量
javahome=e:\yourjsk

解决方案 »

  1.   

    The Java Runtime in "c:\Program Files\java\jre1.6.0_07" is a jre and does not contain an rmi compiler make sure the project uses the ful java sdk the list of al configured sdk/jre is available in the java workbench preferences and on the diagnostics page in the project's rmi properties .
    a commomn cause for this error on windows is that eclipse automatically detects the default java installation,and that installation is a jre press configure workbench to ann an sdk installation
    问题补充.我又键点.--->RMI--->ENABLE STUB GENATION 就显示上面问题.RMI插件我也下载下来了
      

  2.   

    解决问题的方法。我从新装了jdk 包。但是为什么好了?我也不知道。如果朋友们遇见这问题。可能会不大适合你们
      

  3.   

    左边菜单栏右键点击项目名称 ->属性 ->RMI Compiler Properties ->Use non-standard tools.jar location 
    在这里选择并指向你当前jdk的tools.jar.
    来,谢谢我。:)