OpenJDK 64-Bit Server VM warning - Option UseConcMarkSweepGC was deprecated in version 9.0

时间:2024-10-27 07:13:11

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

  • 1. OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
  • 2. sudo apt install openjdk-11-jre-headless
  • 3. Choose Runtime
  • 4. 暂时没有解决问题,还在查找原因
  • 5. 请使用 `pycharm-community-2018.3.`
  • References

1. OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.

(base) yongqiang@yongqiang:~$ 
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2020-06-10 14:03:38,904 [    370]   WARN -  - Resource bundle redefinition for plugin ''. Old value: , new value: 
2020-06-10 14:03:39,028 [    494]  ERROR -  - Should be called at least in the state CONFIGURATION_STORE_INITIALIZED, the current state is: COMPONENTS_REGISTERED
Current violators count: 1


        at (:56)
        at (:52)
        at $intellij_platform_serviceContainer(:357)
        at (:58)
        at (:41)
        at (:115)
        at (:69)
        at (:411)
        at (:394)
        at (:25)
        at (:207)
        at $new$5(:233)
        at /(:841)
        at (:40)
        at /(:4907)
        at /(:2321)
        at /(:2773)
        at /(:4858)
        at /(:778)
        at /$(:727)
        at /$(:721)
        at /(Native Method)
        at /$(:85)
        at /$(:95)
        at /$(:751)
        at /$(:749)
        at /(Native Method)
        at /$(:85)
        at /(:748)
        at (:416)
        at /(:203)
        at /(:124)
        at /(:113)
        at /(:109)
        at /(:101)
        at /(:90)
2020-06-10 14:03:39,030 [    496]  ERROR -  - PyCharm 2020.1.1  Build #PC-201.7223.92
2020-06-10 14:03:39,030 [    496]  ERROR -  - JDK: 11.0.6; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains 
2020-06-10 14:03:39,030 [    496]  ERROR -  - OS: Linux
2020-06-10 14:03:39,038 [    504]   WARN -  - The registry key '' accessed, but not loaded yet
2020-06-10 14:03:39,608 [   1074]   WARN -  - keymap "Visual Studio" not found [Plugin: ]
2020-06-10 14:03:39,610 [   1076]   WARN -  - keymap "Eclipse" not found [Plugin: ]
2020-06-10 14:03:39,610 [   1076]   WARN -  - keymap "NetBeans 6.5" not found [Plugin: ]
2020-06-10 14:03:39,610 [   1076]   WARN -  - keymap "Visual Studio" not found [Plugin: ]
2020-06-10 14:03:39,645 [   1111]   WARN -  - keymap "Eclipse" not found [Plugin: PythonCore]
2020-06-10 14:03:39,645 [   1111]   WARN -  - keymap "NetBeans 6.5" not found [Plugin: PythonCore]
......

2. sudo apt install openjdk-11-jre-headless

(base) yongqiang@yongqiang:~$ java -version

Command 'java' not found, but can be installed with:

sudo apt install default-jre
sudo apt install openjdk-11-jre-headless
sudo apt install openjdk-8-jre-headless

(base) yongqiang@yongqiang:~$
(base) yongqiang@yongqiang:~$ sudo apt-get update
......
(base) yongqiang@yongqiang:~$ sudo apt install openjdk-11-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
......
(base) yongqiang@yongqiang:~$ java --version
openjdk 11.0.7 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-2ubuntu218.04, mixed mode, sharing)
(base) yongqiang@yongqiang:~$

3. Choose Runtime

在这里插入图片描述

Choose Runtime

在这里插入图片描述

在这里插入图片描述

4. 暂时没有解决问题,还在查找原因

5. 请使用 pycharm-community-2018.3.

(base) yongqiang@yongqiang:~/software/pycharm-community-2018.3.7/bin$
(base) yongqiang@yongqiang:~/software/pycharm-community-2018.3.7/bin$ ./
(base) yongqiang@yongqiang:~/software/pycharm-community-2018.3.7/bin$

在这里插入图片描述

References

[1] Yongqiang Cheng, /
[2] Selecting the JDK version the IDE will run under, /hc/en-us/articles/206544879