From: Robert W. B. <rb...@di...> - 2001-01-25 02:13:59
|
Hello Gottfried, On Wed, 24 Jan 2001, Gottfried F. Zojer wrote: > Hi, > > Is somebody using jython 2.0 on a SUSE 7.0 box. > I tried it with the old versions JPython but it never > worked even when my Java-settings was ever correct > because I used VisualAge and also ArgoUML pretty fine. > Whats wrong with it.I can start and execute jythonc > and jython but I cant do anything with it.Alone to do > a 4+3 is not working. > I can see the following when I start jython via > tkdesk filemanager. > Jython 2.0rc1 on java1.2.2 (J.I.T: sunwjit) > type "copyright","credits" or "license" for more > information. > >>>> Seeing the above information is a good sign. I'm a bit confused when you say it doesn't work, but you get the appropriate startup message. What's missing is what happens _after_ you see the ">>>". Are you saying you are unable to type anything at this prompt? If so, start a bash shell and start Jython from there- is it any different? Do you see a traceback? If you can type at the prompt, it is likely working, i.e.- >>>4+3 7 >>> If this does not work, try making a file (test.py) with one line saying "print 4+3" (without the quotes). Then type "jython test.py" at the bash prompt. Do you see 7 or a traceback? If it just hangs again as you say, try export CLASSPATH="" and run it again. The Linux distro doesn't really matter, the jvm does the work. The things that can create problems have always created tracebacks for me in all *nix I've used, so it would be news if this really just froze as your note implies. If none of this works and you still can't get a useful traceback, please forward more info- classpath, what ps aux says, machine details, stuff like that. Good luck, -Robert |