def _run(): _jpype.attachThreadToJVM() _jpype.startReferenceQueue(0)
def startJava(): _jpype.startReferenceQueue(1)
def _run(): _jpype.attachThreadToJVM() _jpype.startReferenceQueue(0) threading.Thread(target=_run).start()
def _run() : _jpype.attachThreadToJVM() _jpype.startReferenceQueue(0) thread.start_new_thread(_run, tuple())