zoukankan      html  css  js  c++  java
  • maven 学习过程中产生的问题1

    问题:
    Please
    ensure you are using JDK 1.4 or above and
    not a JRE
    (the com.sun.tools.javac.Mainclass is required).

    问题原因是eclipse里面设置的默认为jre目录,更改为jdk,这样eclipse就运行在jdk上面

    解决方法:

    Add and set the JRE in Window->Preferences...->Java->Installed JREs:

    JRE type:Standard VM JRE 
    Name: jdk1.6.0_18
    JRE home directory
    : C:\Java\jdk1.6.0_18
     
  • 相关阅读:
    POJ
    POJ
    BZOJ
    HDU
    codeforces
    BZOJ
    SPOJ
    SPOJ
    SPOJ
    HDU
  • 原文地址:https://www.cnblogs.com/feiling/p/2456135.html
Copyright © 2011-2022 走看看