myeclipse中設置jdk
窗口(windows)-->***項(perferences)-->myeclipse-->Application Servers-->打開某個服務容器前的+加號-->設置JDK名字,如果沒有則添加-->輸入JRE名,在設置JRE目錄時選項JDK安裝目錄(一般為:Program FilesJavajdk1.5.0)。
出現這個錯誤:
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.
服務器jdk配置有誤;我們在設置時一般將jre的目錄設為JDK的目錄,而不時安裝時JRE的目錄