|
From: <bc...@wo...> - 2001-10-31 19:29:58
|
[Abraham, Shabu]
>Dear Sir,
>
>When I try to compile the following lines in java script , before making an
>instance of PythonInterpreter,
>
>Properties props = new Properties();
>props.setProperty("python.path", "C:/dist/comjob:lib.custom");
>PythonInterpreter.initialize(System.getProperties(), props, new String[]
>{""});
>
>I get an error that intialize(Properties, Properties, String[]) method not
>found in PythonInterpreter.
Maybe you forgot to import the java.util package?
import java.util.*;
Without java.util and using the jikes compiler, I get this error message
(among other errors):
> 8. PythonInterpreter.initialize(System.getProperties(), props, new String[] {""});
>*** Error: No match was found for method "initialize(java.util.Properties, Properties, java.lang.String[])".
It kind of look like the message you describe.
regards,
finn
|