I am trying to create a hybrid application with python back-end and java GUI and for that purpose I am using jython to access the data from the GUI. I wrote code using a standard Python 3.7.4 virtual environment and it worked "perfectly". But when I try to run the same code on jython it doesn't work so it seems that in jython some packages like threading are overwritten with java functionality.
My question is how can I use the threading package for example from python but in jython environment?
Here is the error:
Exception in thread Thread-1:Traceback (most recent call last): File "/home/dexxrey/jython2.7.0/Lib/threading.py", line 222, in _Thread__bootstrap self.run() self._target(*self._args, **self._kwargs)