Startup Error: Unable to detect graphics environment in fedora 25
Answered
I just idownloaded pycharm-edu-3.5.1 on my fedora 25 and while running pycharm.sh from the bin subdirectory, I found just one line above mentioned error in my system. How to tackle this issue. Thanks
Please sign in to leave a comment.
Hello!
Do you use headless Java installation? Is it OpenJDK or Oracle JDK?
Such errors may be caused by:
- your JDK is headless - doesn't include graphics libraries (see http://stackoverflow.com/questions/5362512/unable-to-run-java-gui-programs-with-ubuntu), for example
- permissions issue (https://forums.opensuse.org/showthread.php/506451-Can-t-install-Intellj)
- accessing java in non-GUI environment