Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 protected static void discoverBeanshell() throws IOException {
   String bshJar = ijHome + "/jars/bsh.jar";
   getClassLoader(bshJar);
 }