Java support?

Does PyCharm have any support for editing/running Java applications?

I work on a web app that has a Django backend (hence PyCharm), but I want to add some Selenium tests and I was planning to just write them in Java.

Thanks,
- Jared

P.S. Please excuse my little rant - I was really surprised when I created my first .java file and PyCharm acted like it has no idea what Java is... I'm thinking "Isn't JetBrains the same company that makes IntelliJ?" There's gotta be some way to add a Java plugin to PyCharm, right?
5 comments
Comment actions Permalink
In the meantime, I tried downloading IntelliJ and pointing it at the same folder (my Git repo) where PyCharm is pointed. I've been able to write a couple of Selenium tests and get them running, but IntelliJ and PyCharm seem to be constantly fighting each other.

Every time I switch between tools, they complain about metadata being changed underneath them and want to restart. And indeed IntelliJ loses its mind and forgets where my compilation output paths are each time I switch.

The alternative - creating an entirely separate GitHub repo for my tests just to keep my tools from fighting each other - seems really unappealing. Am I the only person out there crazy enough to write plain old Java Selenium tests for a Django project?
0
Comment actions Permalink
Hi Jared, if you'd like to work both with Python and Java, I'd recommend you to install IntelliJ IDEA with Python plugin. Python plugin has the same functionality as a standalone PyCharm and works seamlessly with IDEA.
0
Comment actions Permalink
Also you can just open just the folder with your Java sources in IntelliJ not touching the main Python project - in that case 2 IDEs won't fight with each other.
0
Comment actions Permalink
Thanks for the replies, Dmitry. The Python plugin in IntelliJ says that its feature set corresponds to the "Community Edition" of PyCharm. When I look at the comparison of PyCharm's Community and Professional editions, it looks like only the Professional level (which I bought) has support for Django. Since my application is a Django app, it sounds like the community edition feature set provided by the Python plugin won't fit my needs. :-(
0
Comment actions Permalink
...but the solution of pointing IntelliJ only at my Java sources directory seems like it might work. I still get some complaints switching to PyCharm - it complains about an unknown module type - but it seems much less severe.
0

Please sign in to leave a comment.