I am following this answer: Distributing my Python scripts as JAR files with Jython?
This is the python file (myFILE.py) I am trying to convert to a jar file:
from tkinter import *
root = Tk()
root.mainloop()
- 1) Download jython
 
(inside jython folder)
- 2) cp jython.jar jythonlib.jar
 - 3) zip -r jythonlib.jar lib
 - 4) cp jytonlib.jar myapp.jar
 
Finally, I try to run it:
- 5) java -jar myapp.jar myFile.py
 
ImportError: no module named tkinter
How can I add the tkinter library to the jython/lib folder?