一、在eclipse中选择 window--->preferences 二、runtime environment -----》edit 三、在这个地方就可以进行选择jre了。 转载于:https://www.cnblogs.com/dragkiss/p/3985336.html