Closed CanYing0913 closed 1 month ago
@CanYing0913 Sorry for the slow reply. And unfortunately, I don't know exactly which files you are going to need to include in the freeze. You are doing something no one else is doing, so you will need to experiment to figure out what works. If you come up with a recipe, you are welcome to contribute it to the PyImageJ documentation and/or DevOps pipeline as an option for others.
What are the files required to start the JVM in
jpype
and use bypyimagej
? I have a program and eventually I need to freeze it to executables (i.e.,*.exe
on Windows) usingcx_freeze
. This leads to the error below:Note that the error was from my frozen application, (i.e. running my program from source code using
cz
mamba environment works perfectly). So, I begin to think if I can bring all JVM-related files with my application, (as if whatJAVA_HOME
points to in a mamba environment), so that I can directly point myJAVA_HOME
environment variable to it, without worrying about it.