PyCharm Community Edition 2019.3.4 not starting on win 10
I am using PyCharm Community Edition 2019.3.4 and its not starting on win 10 but see a new process show up in my Task Manager.
I am able to launch it using the bat file. Below is the log from the console when I ran the batch file:
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\Micro Focus\Unified Functional Testing\bin\java_shared\classes\jasmine.jar"
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
14:01:46:725 >> Loading UFT Java Support (version 14.53.0.0) (JetBrains s.r.o, 11.0.6)
Why I am unable to launch or start?
Below is the log file:
2020-03-20 14:48:45,997 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2020-03-20 14:48:46,121 [ 124] INFO - #com.intellij.idea.Main - IDE: PyCharm (build #PC-193.6911.25, 18 Mar 2020 02:51)
2020-03-20 14:48:46,124 [ 127] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2020-03-20 14:48:46,124 [ 127] INFO - #com.intellij.idea.Main - JRE: 11.0.6+8-b520.43 (JetBrains s.r.o)
2020-03-20 14:48:46,125 [ 128] INFO - #com.intellij.idea.Main - JVM: 11.0.6+8-b520.43 (OpenJDK 64-Bit Server VM)
2020-03-20 14:48:46,126 [ 129] INFO - #com.intellij.idea.Main - JVM Args: -agentlib:jvmhook exit -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf=true -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -Djb.vmOptionsFile=C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.4\bin\pycharm64.exe.vmoptions -Djava.library.path=C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.4\jbr\\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.4\jbr\\bin\server -Didea.platform.prefix=PyCharmCore -Dide.native.launcher=true -Didea.paths.selector=PyCharmCE2019.3 -XX:ErrorFile=C:\Users\<Username>\java_error_in_pycharm_%p.log -XX:HeapDumpPath=C:\Users\<Username>\java_error_in_pycharm.hprof -Xrunjvmhook -Xbootclasspath/a:C:\Program Files (x86)\Micro Focus\Unified Functional Testing\bin\java_shared\classes\jasmine.jar
2020-03-20 14:48:46,126 [ 129] INFO - #com.intellij.idea.Main - charsets: JNU=Cp1252 file=Cp1252
2020-03-20 14:48:46,427 [ 430] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 395 ms
2020-03-20 14:48:46,550 [ 553] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2020-03-20 14:48:46,955 [ 958] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ChangeReminder (193.6911.25), Configuration Script (193.6911.25), Copyright (193.6911.25), EditorConfig (193.6911.25), Git (193.6911.25), GitHub (193.6911.25), IDEA CORE (193.6911.25), IntelliLang (193.6911.25), Machine Learning Code Completion (193.6911.25), Markdown (193.6911.25), Mercurial (193.6911.25), Properties (193.6911.25), PyCharm Community Customization (193.6911.25), Python Community Edition (193.6911.25), ReStructuredText Support (193.6911.25), Settings Repository (193.6911.25), Shell Script (193.6911.25), Subversion (193.6911.25), Task Management (193.6911.25), Terminal (193.6911.25), TextMate bundles (193.6911.25), YAML (193.6911.25)
请先登录再写评论。
Hi,
Sorry, it's not immediately clear what is the issue. I would suggest to try deleting PyCharm's configuration folder (https://intellij-support.jetbrains.com/hc/en-us/articles/206544519) to ensure you start with the default settings. If that doesn't help, can you upload your log folder zipped to our FTP and let me know the file name? I will search for anything unusual.
Also, if you can start PyCharm using BAT script, how do you start it normally (when it doesn't start)?
Hi,
I once again reinstalled (after uninstalling and rebooting the system), still not starting on win 10 but see a new process show up in my Task Manager. How to upload the log?
I normally start by clicking the shortcut. I click on the bat file and the application starts without any issues. here is content of the log.
2020-03-25 09:45:22,785 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2020-03-25 09:45:23,940 [ 1155] WARN - #com.intellij.idea.Main - java.lang.NoClassDefFoundError: Could not initialize class com.mercury.javashared.infra.Native
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.mercury.javashared.infra.Native
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
at com.intellij.idea.StartupUtil.runInEdtAndWait(StartupUtil.java:678)
at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:227)
at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:213)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:45)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.mercury.javashared.infra.Native
at com.mercury.javashared.agentloader.AgentBootstrap.startAgent(Unknown Source)
at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:581)
at java.desktop/java.awt.Toolkit.getEventQueue(Toolkit.java:1499)
at java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1318)
at com.intellij.idea.StartupUtil.lambda$scheduleInitUi$9(StartupUtil.java:265)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
... 1 more
2020-03-25 09:45:24,257 [ 1472] INFO - #com.intellij.idea.Main - IDE: PyCharm (build #PC-193.6911.25, 18 Mar 2020 02:51)
2020-03-25 09:45:24,278 [ 1493] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2020-03-25 09:45:24,278 [ 1493] INFO - #com.intellij.idea.Main - JRE: 11.0.6+8-b520.43 (JetBrains s.r.o)
2020-03-25 09:45:24,278 [ 1493] INFO - #com.intellij.idea.Main - JVM: 11.0.6+8-b520.43 (OpenJDK 64-Bit Server VM)
2020-03-25 09:45:24,280 [ 1495] INFO - #com.intellij.idea.Main - JVM Args: -agentlib:jvmhook exit -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf=true -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -Djb.vmOptionsFile=C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.4\bin\pycharm64.exe.vmoptions -Djava.library.path=C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.4\jbr\\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.4\jbr\\bin\server -Didea.platform.prefix=PyCharmCore -Dide.native.launcher=true -Didea.paths.selector=PyCharmCE2019.3 -XX:ErrorFile=C:\Users\<UserName>\java_error_in_pycharm_%p.log -XX:HeapDumpPath=C:\Users\<UserName>\java_error_in_pycharm.hprof -Xrunjvmhook -Xbootclasspath/a:C:\Program Files (x86)\Micro Focus\Unified Functional Testing\bin\java_shared\classes\jasmine.jar
2020-03-25 09:45:24,280 [ 1495] INFO - #com.intellij.idea.Main - charsets: JNU=Cp1252 file=Cp1252
2020-03-25 09:45:24,535 [ 1750] ERROR - llij.ide.plugins.PluginManager - Could not initialize class com.mercury.javashared.infra.Native
java.lang.NoClassDefFoundError: Could not initialize class com.mercury.javashared.infra.Native
at com.mercury.javashared.agentloader.AgentBootstrap.startAgent(Unknown Source)
at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:581)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1348)
at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:235)
at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:213)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:45)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-03-25 09:45:24,536 [ 1751] ERROR - llij.ide.plugins.PluginManager - PyCharm 2019.3.4 Build #PC-193.6911.25
2020-03-25 09:45:24,537 [ 1752] ERROR - llij.ide.plugins.PluginManager - JDK: 11.0.6; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o
2020-03-25 09:45:24,537 [ 1752] ERROR - llij.ide.plugins.PluginManager - OS: Windows 10
2020-03-25 09:45:24,691 [ 1906] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2020-03-25 09:45:25,036 [ 2251] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 1846 ms
2020-03-25 09:45:25,816 [ 3031] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2020-03-25 09:45:25,828 [ 3043] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
Sorry, I seem to forgot provide an FTP link: https://uploads.services.jetbrains.com/
Please upload the zipped log folder there and let me know the file name
The piece of log that you show contains an error:
This could be caused by a global Java Agent registered via an environment variable.
Please check _JAVA_OPTIONS and JAVA_TOOL_OPTIONS system environment variables
If you're not sure, please send the output of "set" command from cmd
Below are the system environment variables for _JAVA_OPTIONS and JAVA_TOOL_OPTIONS
_JAVA_OPTIONS=-Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\Micro Focus\Unified Functional Testing\bin\java_shared\classes\jasmine.jar"
JAVA_TOOL_OPTIONS=-agentlib:jvmhook
I once again uninstalled and reinstalled pycharm, still not starting on win 10 but see a new process show up in my Task Manager. Here is the log again.
2020-03-26 14:40:35,146 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2020-03-26 14:40:35,274 [ 128] INFO - #com.intellij.idea.Main - IDE: PyCharm (build #PC-193.6911.25, 18 Mar 2020 02:51)
2020-03-26 14:40:35,278 [ 132] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2020-03-26 14:40:35,278 [ 132] INFO - #com.intellij.idea.Main - JRE: 11.0.6+8-b520.43 (JetBrains s.r.o)
2020-03-26 14:40:35,279 [ 133] INFO - #com.intellij.idea.Main - JVM: 11.0.6+8-b520.43 (OpenJDK 64-Bit Server VM)
2020-03-26 14:40:35,281 [ 135] INFO - #com.intellij.idea.Main - JVM Args: -agentlib:jvmhook exit -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf=true -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -Djb.vmOptionsFile=C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.4\bin\pycharm64.exe.vmoptions -Djava.library.path=C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.4\jbr\\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.4\jbr\\bin\server -Didea.platform.prefix=PyCharmCore -Dide.native.launcher=true -Didea.paths.selector=PyCharmCE2019.3 -XX:ErrorFile=C:\Users\<username>\java_error_in_pycharm_%p.log -XX:HeapDumpPath=C:\Users\<username>\java_error_in_pycharm.hprof -Xrunjvmhook -Xbootclasspath/a:C:\Program Files (x86)\Micro Focus\Unified Functional Testing\bin\java_shared\classes\jasmine.jar
2020-03-26 14:40:35,281 [ 135] INFO - #com.intellij.idea.Main - charsets: JNU=Cp1252 file=Cp1252
2020-03-26 14:40:35,426 [ 280] WARN - #com.intellij.idea.Main - java.lang.NoClassDefFoundError: Could not initialize class com.mercury.javashared.infra.Native
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.mercury.javashared.infra.Native
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
at com.intellij.idea.StartupUtil.runInEdtAndWait(StartupUtil.java:678)
at com.intellij.idea.StartupUtil.lambda$showUserAgreementAndConsentsIfNeeded$15(StartupUtil.java:673)
at com.intellij.ui.AppUIUtil.showConsentsAgreementIfNeeded(AppUIUtil.java:332)
at com.intellij.idea.StartupUtil.showUserAgreementAndConsentsIfNeeded(StartupUtil.java:673)
at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:231)
at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:213)
at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:45)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.mercury.javashared.infra.Native
at com.mercury.javashared.agentloader.AgentBootstrap.startAgent(Unknown Source)
at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:581)
at java.desktop/java.awt.Toolkit.getEventQueue(Toolkit.java:1499)
at java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1318)
at com.intellij.idea.StartupUtil.lambda$scheduleInitUi$9(StartupUtil.java:265)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
... 1 more
2020-03-26 14:40:35,942 [ 796] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 760 ms
2020-03-26 14:40:35,964 [ 818] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2020-03-26 14:40:36,213 [ 1067] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ChangeReminder (193.6911.25), Configuration Script (193.6911.25), Copyright (193.6911.25), EditorConfig (193.6911.25), Git (193.6911.25), GitHub (193.6911.25), IDEA CORE (193.6911.25), IntelliLang (193.6911.25), Machine Learning Code Completion (193.6911.25), Markdown (193.6911.25), Mercurial (193.6911.25), Properties (193.6911.25), PyCharm Community Customization (193.6911.25), Python Community Edition (193.6911.25), ReStructuredText Support (193.6911.25), Settings Repository (193.6911.25), Shell Script (193.6911.25), Subversion (193.6911.25), Task Management (193.6911.25), Terminal (193.6911.25), TextMate bundles (193.6911.25), YAML (193.6911.25)
I have uploaded the log file, name of the file is "Suresh_Pycharm_log.txt"
_JAVA_OPTIONS=-Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\Micro Focus\Unified Functional Testing\bin\java_shared\classes\jasmine.jar"
JAVA_TOOL_OPTIONS=-agentlib:jvmhook
Could you try deleting those variables from the environment (temporarily)?
Thank you, I deleted and able to start pycharm. We can consider this issue as closed.
I was able to start PyCharm 2019.3.4 by removing %PyCharm% from the system path, and following instructions for www.dll-files.com/vcruntime140_1.dll.html to download into my Win 10 C:\Program Files\JetBrains\PyCharm 2019.3.4\bin directory.
Nevermind the previous message. I tried to install Nodejs and now PyCharm is not starting up again (just getting the "PC PyCharm Professional 2020.2" splash screen.