< prev index next >

modules/jdk.packager/src/main/java/com/sun/javafx/tools/ant/Platform.java

Print this page

        

@@ -130,24 +130,10 @@
         javafx = v;
     }
 
     public final static String USE_SYSTEM_JRE = "";
 
-    public void setBasedir(String v) {
-        if (v.trim().isEmpty()) {
-            //special case: request to use system runtime
-            javaRoot = USE_SYSTEM_JRE;
-        } else {
-            File f = new File(v);
-            if (!f.exists()) {
-                throw new BuildException(
-                        "Specified JDK location do not exist: " + v);
-            }
-            javaRoot = f.getAbsolutePath();
-        }
-    }
-
     public Property createProperty() {
         Property t = new Property();
         properties.add(t);
         return t;
     }
< prev index next >