From: Gerhard S. <ger...@la...> - 2001-03-02 19:03:41
|
Hallo, thanks to your help I solved my first installation problem were I hadn't set the classpath correct. I simple changed the jython script to: java -Dpython.home=/home/gerhard/work/jython -classpath "/home/gerhard/work/prog/jython/jython.jar:/usr/lib/java/lib/classes.zip:." org.python.util.jython "$@" then the first problem was gone but I ran into the next when I started the simple example program Maybe you can help me once more thank you gerhard gerhard@darkstar:~/work/prog/jython > jython Demo/awt/simple.py SIGSEGV 11* segmentation violation stackbase=0xbffff150, stackpointer=0xbfffefc4 Full thread dump: "Finalizer thread" (TID:0x40596210, sys_thread_t:0x412dae0c, state:R) prio=1 "Async Garbage Collector" (TID:0x40596258, sys_thread_t:0x412b9e0c, state:R) prio "Idle thread" (TID:0x405962a0, sys_thread_t:0x41298e0c, state:R) prio=0 "Clock" (TID:0x40596088, sys_thread_t:0x41277e0c, state:CW) prio=12 "main" (TID:0x405960b0, sys_thread_t:0x80891e0, state:R) prio=5 *current thread* org.python.core.PyJavaClass.setBeanInfoCustom(PyJavaClass.java:575) org.python.core.PyJavaClass.init__dict__(PyJavaClass.java:139) org.python.core.PyJavaClass.initialize(PyJavaClass.java:101) org.python.core.PyJavaClass.init__bases__(PyJavaClass.java:199) org.python.core.PyJavaClass.initialize(PyJavaClass.java:100) org.python.core.PyJavaClass.init__bases__(PyJavaClass.java:199) org.python.core.PyJavaClass.initialize(PyJavaClass.java:100) org.python.core.PyJavaClass.init__bases__(PyJavaClass.java:199) org.python.core.PyJavaClass.initialize(PyJavaClass.java:100) org.python.core.PyJavaClass.initConstructors(PyJavaClass.java:632) org.python.core.PyJavaClass.__call__(PyJavaClass.java:784) org.python.pycode._pyx0.f$0(simple.py) org.python.pycode._pyx0.call_function(simple.py) org.python.core.PyTableCode.call(PyTableCode.java:155) org.python.core.Py.runCode(Py.java:1055) org.python.core.__builtin__.execfile(__builtin__.java:288) org.python.core.__builtin__.execfile(__builtin__.java:292) org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:155) org.python.util.jython.main(jython.java:159) Monitor Cache Dump: org.python.core.PyJavaClass@1079718592/1080470632: owner "main" (0x80891e0, 2 ent org.python.core.PyJavaClass@1079718520/1080470376: owner "main" (0x80891e0, 2 ent org.python.core.PyJavaClass@1079718304/1080470040: owner "main" (0x80891e0, 3 ent org.python.core.PyJavaClass@1079718664/1080470888: owner "main" (0x80891e0, 2 ent Registered Monitor Dump: Verifier lock: <unowned> Thread queue lock: <unowned> Name and type hash table lock: <unowned> String intern lock: <unowned> JNI pinning lock: <unowned> JNI global reference lock: <unowned> BinClass lock: <unowned> Class loading lock: <unowned> Java stack lock: <unowned> Code rewrite lock: <unowned> Heap lock: <unowned> Has finalization queue lock: <unowned> Finalize me queue lock: <unowned> Dynamic loading lock: <unowned> Monitor IO lock: <unowned> Child death monitor: <unowned> Event monitor: <unowned> I/O monitor: <unowned> Alarm monitor: <unowned> Waiting to be notified: "Clock" (0x41277e0c) Monitor registry: owner "main" (0x80891e0, 1 entry) Thread Alarm Q: ./jython: line 7: 826 Aborted java -Dpython.home=/home/gerhard/work /jython -classpath "/home/gerhard/work/prog/jython/jython.jar:/usr/lib/java/lib/class p:." org.python.util.jython "$@" -------- Original Message -------- Subject: installation problem Date: Tue, 27 Feb 2001 20:26:25 +0100 From: Gerhard Spitzlsperger <ger...@la...> To: jyt...@li... Hallo, I just installed jython-20. Everything goes well but when I start jython from the commandline the following error appears: gerhard@darkstar:~/work/prog/jython > jython Unable to initialize threads: cannot find class java/lang/Thread gerhard@darkstar:~/work/prog/jython > java -version java version "1.1.8" gerhard@darkstar:~/work/prog/jython > I use Linux SuSE 7.1 on a pentium II maybe you can give me a hint. Thank you gerhard |