myeclipse中設(shè)置jdk
窗口(windows)-->***項(perferences)-->myeclipse-->Application Servers-->打開某個服務(wù)容器前的+加號-->設(shè)置JDK名字,如果沒有則添加-->輸入JRE名,在設(shè)置JRE目錄時選項JDK安裝目錄(一般為:Program FilesJavajdk1.5.0)。
出現(xiàn)這個錯誤:
to launch an application server,a full jdk(not just a jre) must be specified.
if the selected jre is actually part of a full jdk,please update its configuration to point to the jdk installation root directory,not to its included jre subdirectory.
服務(wù)器jdk配置有誤;我們在設(shè)置時一般將jre的目錄設(shè)為JDK的目錄,而不時安裝時JRE的目錄