Closed zhjdotxmsme closed 2 years ago
python -c "from pemja import findClass; Integer = findClass('java.lang.Integer'); print(Integer.toHexString(Integer.MAX_VALUE))" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name 'findClass' from 'pemja' (/usr/local/lib/python3.8/site-packages/pemja/__init__.py)
I misinterpret the way that python call java, it should be based on jvm to python call back java api. It is my fault, close issue
python -c "from pemja import findClass; Integer = findClass('java.lang.Integer'); print(Integer.toHexString(Integer.MAX_VALUE))" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: cannot import name 'findClass' from 'pemja' (/usr/local/lib/python3.8/site-packages/pemja/__init__.py)