fix jnilib stuff for rev 67

This commit is contained in:
benfry
2003-10-28 16:58:38 +00:00
parent e77dbd8c9e
commit 5bf2bb7986
5 changed files with 79 additions and 27 deletions

View File

@@ -50,15 +50,18 @@ public class PdeRuntime implements PdeMessageConsumer {
Process process;
OutputStream processOutput;
boolean externalRuntime;
String codeFolderPath;
String externalPaths;
public PdeRuntime(PdeEditor editor, String className,
boolean externalRuntime, String externalPaths) {
boolean externalRuntime,
String codeFolderPath, String externalPaths) {
this.editor = editor;
this.className = className;
this.externalRuntime = externalRuntime;
this.codeFolderPath = codeFolderPath;
this.externalPaths = externalPaths;
}
@@ -94,7 +97,7 @@ public class PdeRuntime implements PdeMessageConsumer {
}
*/
} catch (Exception e) {
System.err.println("PdeSystemOutSiphon error " + e);
System.err.println("SystemOutSiphon error " + e);
e.printStackTrace();
}
}
@@ -115,7 +118,8 @@ public class PdeRuntime implements PdeMessageConsumer {
try {
if (externalRuntime) {
String command[] = new String[] {
"java",
"java",
"-Djava.library.path=" + codeFolderPath,
"-cp",
externalPaths,
"BApplet",