Pycharm 설치 중 Java 충돌

Pycharm 설치 중 Java 충돌

pycharm/bin/pycharm.sh를 사용하여 pycharm을 설치하고 Linux mint 18(32비트)의 /usr/bin/share에서 찾으려고 합니다. 이는 오류입니다. openjdk-9-jdk 및 openjdk를 설치했습니다. -9-jre. 나는 무엇이 잘못되었는지 모른다. 어떤 도움이라도 대단히 감사하겠습니다. 미리 감사드립니다.

WARN: Unknown class loader: jdk.internal.loader.ClassLoaders$AppClassLoader
WARN: Unknown class loader: jdk.internal.loader.ClassLoaders$PlatformClassLoader
WARN: Unknown class loader: jdk.internal.loader.ClassLoaders$AppClassLoader
WARN: Unknown class loader: jdk.internal.loader.ClassLoaders$PlatformClassLoader
Jul 15, 2017 3:18:44 PM java.util.prefs.FileSystemPreferences$6 run
WARNING: Prefs file removed in background /root/.java/.userPrefs/prefs.xml

Start Failed: Internal error. Please report to http://jb.gg/ide/critical-startup-errors

com.intellij.ide.plugins.PluginManager$StartupAbortedException: java.lang.reflect.InvocationTargetException
    at com.intellij.ide.plugins.PluginManager.a(PluginManager.java:94)
    at java.lang.Thread.run(java.base@9-internal/Thread.java:804)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
    at com.intellij.ide.plugins.PluginManager.a(PluginManager.java:91)
    ... 1 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.intellij.util.concurrency.AppScheduledExecutorService$Holder
    at com.intellij.util.concurrency.AppScheduledExecutorService.getInstance(AppScheduledExecutorService.java:50)
    at com.intellij.util.concurrency.AppExecutorUtil.getAppScheduledExecutorService(AppExecutorUtil.java:39)
    at com.intellij.util.concurrency.AppExecutorUtil.getAppExecutorService(AppExecutorUtil.java:53)
    at org.jetbrains.ide.PooledThreadExecutor.<clinit>(PooledThreadExecutor.java:32)
    at com.intellij.ide.a.m.u.<init>(u.java:63)
    at com.intellij.ide.a.e.b.<init>(b.java:23)
    at com.intellij.idea.MainImpl.a(MainImpl.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
    at com.intellij.idea.MainImpl.access$000(MainImpl.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
    at com.intellij.idea.MainImpl$1.start(MainImpl.java:48)
    at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:147)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
    at com.intellij.idea.MainImpl.start(MainImpl.java:40)
    ... 6 more

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb65e2e48, pid=2734, tid=2753
#
# JRE version: OpenJDK Runtime Environment (9.0) (build 9-internal+0-2016-04-14-195526.buildd.src)
# Java VM: OpenJDK Server VM (9-internal+0-2016-04-14-195526.buildd.src, mixed mode, tiered, concurrent mark sweep gc, linux-x86)
# Problematic frame:
# C  [libjava.so+0x18e48]  JNU_GetEnv+0x18
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/java_error_in_PYCHARM_2734.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted

답변1

PyCharm은 JDK를 지원하지 않습니다.9불안정하기 때문이죠. JDK 사용해보기8.

답변2

OpenJDK 대신 Orcale의 실제 JDK를 사용해 보십시오(오류 메시지에서 볼 수 있듯이 이는 후자의 버그입니다). 운이 좋다면 이전 OpenJDK도 괜찮겠지만, 내 경험에 따르면 OpenJDK에는 일반적으로 문제가 너무 자주 발생하여 (안타깝게도) Oracle JDK를 고수해야 합니다.

관련 정보