From: <drt...@ya...> - 2001-09-07 11:10:51
|
Hi I'm new to Jython, experienced in Python, and am pioneering the latter's introduction to a large multinational with a large dregree of success. I now want to start on the Java guys .... Which leads me to the installation problem I have, the answer to which is I suspect trivial to a Jython expert. I'm using WinNT, and can run all the applet demos, etc in a browser on my machine. However, in trying to create a bean, or run Jython interactively, the response to >>>import java leads to the response ImportError: no module named java. Right, I say, lets put it on the equivalent of the pythonpath. Ah the docs helpfully say we need a Jython Registry .. in a file called "user.home"+'"/.jython" This kinda makes sense for unix. What does this mean in Windows (I can't have a file or directory containing a dot)? Secondly, given that I can get jython to read a registry file, what am I asking it to look for? java.py? java.jar? Any help you can provide would be most beneficial all round Thanks Tim ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie |