protected static void discoverJython() throws IOException { String pythonHome = ijHome + "jars"; setDefaultProperty("python.home", pythonHome); setDefaultProperty("python.cachedir.skip", "false"); String jythonJar = pythonHome + "/jython.jar"; getClassLoader(ijHome + "/jars/jna.jar"); getClassLoader(jythonJar); }
protected static void discoverBeanshell() throws IOException { String bshJar = ijHome + "/jars/bsh.jar"; if (!new File(bshJar).exists()) { bshJar = ijHome + "/jars/bsh.jar"; if (!new File(bshJar).exists()) bshJar = ijHome + "/precompiled/bsh.jar"; } getClassLoader(bshJar); }
protected static void discoverJavac() throws IOException { String path = ijHome + "jars/javac.jar"; if (!new File(path).exists()) { path = ijHome + "precompiled/javac.jar"; if (!new File(path).exists()) { System.err.println("No javac.jar found (looked in " + ijHome + ")!"); return; } } getClassLoader(path); }
protected static void discoverBeanshell() throws IOException { String bshJar = ijHome + "/jars/bsh.jar"; getClassLoader(bshJar); }