背景:新创建的workspace,eclipse通过gradle上传jar包到私服,报错:Caused by: java.lang.RuntimeException: Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.
解决办法:选中workSpace jre,指定地址。详细参考链接。
参考:
Cannot find System Java Compiler
大方向:eclipse更换jdk版本