PyCharm and Java Integration

This question is probably ridiculous because I have very little experience with Python.
But one has to work with it these days.

The problem is that the IDE cannot resolve any references to java.* packages java.* And others in my own libraries.

I added several paths to the required libraries in interpeter, but nothing has changed.

Am I doing something wrong or do I need some third-party plugin?

I am using PyCharm 2.5b with Jython 2.5.3 as a translator.

+7
source share
1 answer

PyCharm Java support is very limited , it cannot analyze banks and understand Java import right now.

If you want to share Java and Python, consider using IntelliJ IDEA Ultimate with the Python plugin.

Adding jre/lib/rt.jar to the Jython class path will allow the import to be enabled and code completion available:

rt.jar

completion

Please note that you need to disable Attempting to call an object without calling> due to a known error .

+10
source

All Articles