@Override public JDK getJDK() { // share one setting for the whole module set. return getParent().getJDK(); }
@Override public JDK getJDK() { // share one setting for the whole module set. return getParent().getJDK(); }
@CheckForNull public JDK getJava(TaskListener log) throws IOException, InterruptedException { JDK jdk = mms.getJDK(); if (jdk != null) jdk = jdk.forNode(getCurrentNode(), log).forEnvironment(envVars); return jdk; }
public JDK getJava(TaskListener log) throws IOException, InterruptedException { JDK jdk = mms.getJDK(); if (jdk != null) jdk = jdk.forNode(getCurrentNode(), log).forEnvironment(envVars); return jdk; }
if(fixNull(e.getMessage()).contains("java: not found")) { JDK jdk = mms.getJDK(); if(jdk==null) throw new IOException2(mms.getDisplayName()+" is not configured with a JDK, but your PATH doesn't include Java",e);
if(fixNull(e.getMessage()).contains("java: not found")) { JDK jdk = mms.getJDK(); if(jdk==null) throw new IOException(mms.getDisplayName()+" is not configured with a JDK, but your PATH doesn't include Java",e);