Closed christophfroehlich closed 2 years ago
Just to gain a better understanding of your situation, is the CLASSPATH
environment variable set to anything, or is it unset (that's okay too)?
I currently have it working on Windows 10 with Oracle JDK 1.8.0_202-b08 like you. Only difference is I'm not using Conda and I'm using Python 3.7.
Could you please try again with Python 3.7 in Conda so that we can narrow down if the issue is the Python version or Conda?
After doing a bit more research, it looks like jpype doesn't yet support Python >3.8 very well. You could try python 3.9, but 3.8 looks like the latest fully supported version.
I already tried that and downgraded python yesterday, but it seems that I forgot to reinstall all dependencies properly.
Today (probably after restarting conda), I got new error messages and started reinstalling everything with pip
-> same result.
python
Python 3.9.7 (default, Sep 16 2021, 16:59:28) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Then I tried to delete CLASSPATH
and voila, it worked! I think I've found the mistake: CLASSPATH
was pointing to the folder where the jar file is, not to the file itself! Even if I have the jar file in the same folder and set CLASSPATH
to any other folder it fails. Honestly, I have no glue of java and its system variables, nor do I know now if it would have worked with python3.10, but I'm happy that you pointed me to the CLASSPATH
issue. Thanks!
Hi! I just made a clean install on a Windows 10 machine and struggle to run even the example scripts.
I installed orhelper via pip on miniconda3-py39, Windows 10. I had a problem on building jpype with python 3.10 and had to build jpype manually with this source, see the following github-PR
I tried openjdk 1.8.0_312-1 but also oracle jdk 1.8.0_202-b08 via setting
JAVA_HOME
.From anaconda3 prompt:
The jar-file is located in the examples directory, and
java -jar OpenRocket-15.03.jar
loads OR successfully.Could you give me any hint on how to fix this? Did I miss something during installation, or is there any incompatibility with the newest releases I just installed?