Re: JEP and JPype in a single process

2005-06-28 Thread skn
Thanks for your prompt reply, Steve. Just one suggestion, may be the startJVM method's implementation can itself be changed to check for already existing JVM. Of course this will also mean a change in shutdownJVM() semantics. If JVM has been started earlier(not using startJVM()), shutdownJVM() shou

Re: JEP and JPype in a single process

2005-06-22 Thread Steve Menard
Steve Menard wrote: > skn wrote: > >> Hello, >> >> I have written a very simple java class file, which invokes a Python >> script >> using JEP. >> >> Code snippet:- >> --- >> Jep jep = new Jep(false); >> jep.runScript("C:\\temp\\testscript.py"); >> jep.close(); >> >> Now inside th

Re: JEP and JPype in a single process

2005-06-20 Thread Steve Menard
skn wrote: > Hello, > > I have written a very simple java class file, which invokes a Python script > using JEP. > > Code snippet:- > --- > Jep jep = new Jep(false); > jep.runScript("C:\\temp\\testscript.py"); > jep.close(); > > Now inside this Python script I want to make Java c

Re: JEP and JPype in a single process

2005-06-20 Thread Konstantin Veretennicov
On 6/20/05, skn <[EMAIL PROTECTED]> wrote: > Hello, > > I have written a very simple java class file, which invokes a Python script > using JEP. . . . > Now inside this Python script I want to make Java calls using JPype. I am not familiar with either Jepp or JPype, but I spotted this snippet on

JEP and JPype in a single process

2005-06-20 Thread skn
Hello, I have written a very simple java class file, which invokes a Python script using JEP. Code snippet:- --- Jep jep = new Jep(false); jep.runScript("C:\\temp\\testscript.py"); jep.close(); Now inside this Python script I want to make Java calls using JPype. If I use startjvm