Pycharm wont open
Answered
I'm hoping someone can help me. My PyCharm 2017.1.1 IDE wouldn't open starting a few days ago. The only change that happened recently was an update to some WiFi drivers. I'm not sure I can revert that change due to company policies but even then it seems like it wouldn't likely be the problem in any case. I uninstalled and reinstalled PyCarm 2017.1.2 and it does the same thing when I try to launch the application which is nothing. The Windows 8.1 application logs have no events at the time of the attempt to open and the log location under the my user directory for the app has no logs at all. "Run as Administrator" does seem to help either. Thanks for any help!
Please sign in to leave a comment.
Hi Martin,
Please try starting IDE from the command line using .../bin/pycharm.bat - what is written to console?
Aha!
C:\Program Files\JetBrains\PyCharm 2017.1.2\bin>pycharm.bat
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\HP\Unified Functional Testing\bin\java_shared\classes";"C:\Program Files (x86)\HP\Unified Functional Testing\bin\java_sh
ared\classes\jasmine.jar"
14:22:16:309 >> Loading HP UFT Java Support (version 12.54.0.0) (JetBrains s.r.o, 1.8.0_112-release)
Exception in thread "Thread-0" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/DOMParser
at com.mercury.ftjadin.utils.xmlParsing.DomParserFactory.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.DOMParser
at java.lang.ClassLoader.findClass(ClassLoader.java:530)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at com.mercury.javashared.agentloader.AgentClassLoaderJava2.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
Looks like my Java got jacked by HP UFT? Should I just reinstall Java 1.8 or is it just the path statement?
I am getting the following error while opening PyCharm and its not opening at all.
Error:Cannot start under Java 1.7.0_67-b01: Java 1.8 or later is required.
Can any one provide the solution for the same.
I had the same problem with Pycharm not opening. My solution was different, so I thought I would post it. I originally set up Pycharm to run in 32 bit mode. I thought this would help with Windows Python compatibility. It turned out that this was not necessary. This also seemed to cause my problems with loading Pycharm. I tried using the pycharm.bat file as suggested above and Pycharm loaded properly. This led me to the following idea. I changed the properties of the graphical link to point to pycharm64.exe instead of pycharm.exe. It all works now.
@... If you are not able to open pycharm with launcher icon or shortcut, better open pycharm with terminal.
Open command-prompt/powershell > type pycharm > and pycharm will open up.
this is the best experimental way i found.