0

I check my old script written in 2007 in Python/Jython and it throw the error:

ImportError: cannot import name PyJavaClass 

What happen with this class, I use Xubuntu 13.4 with Jython 2.5.2

1 Answer 1

2

PyJavaClass was part of Jython 2.2: https://bitbucket.org/jython/jython/src/bed9f9de4ef3c6d38bc009409c95ebfc55e0c7d0/src/org/python/core?at=2.2.

It is gone in Jython 2.5. Now there is PyJavaType instead. See

I cannot find anything about this change in the release notes (http://www.jython.org/latest.html).

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.