在 Eclipse Neon 中安装 PyDev 时获取 "Unable to make member of class sun.security.ssl.SSLSocketImpl"

Getting "Unable to make member of class sun.security.ssl.SSLSocketImpl" when installing PyDev in Eclipse Neon

我刚刚在 VirtualBox 中安装了 Xubuntu 16.04 64 位虚拟机。我使用了 Eclipse Neon 安装程序并选择了 CDT 版本。

在启动 Eclipse 之后,我还尝试从 Marketplace 安装 PyDev。在对话框 window 之后 select 你想安装哪些子组件(例如 Mylyn 集成)我得到

Unable to read repository at http://www.pydev.org/updates/content.xml. Unable to make member of class sun.security.ssl.SSLSocketImpl accessible: module java.base does not export sun.security.ssl to unnamed module @7098b8f8

基础 JDK 是 OpenJDK 9(来自官方存储库),我也尝试切换到 OpenJDK 8(使用 sudo update-alternatives --config java 和 selecting the 8th version) 结果同样糟糕。此外,我还在另一台使用 Xubuntu 16.10(相同架构)的机器上成功安装了 PyDev。

我找不到任何关于正在发生的事情的提示。

编辑: 更新 Eclipse 有效(我刚刚更新了 CDT,无论出于何种原因都不是最新版本)。

我猜常规站点有问题。可能是因为 Source Forge switched to Let's Encrypt.

我找到的最佳解决方案是安装 PyDev from a zip file

  1. Source Forge 下载 PyDev zip 文件。
  2. 解压缩,并将内容复制到 Eclipse 的 dropins 文件夹中。
  3. 重新启动 Eclipse。

我不确定文件应该放在哪里,所以这是适合我的文件夹布局:

  • eclipse
    • dropins
      • Eclipse X.Y.Z
        • features
          • 多个文件夹
        • plugins
          • 多个文件夹

在开始工作之前,我在 this question: use an AWS mirror 上找到了 PyDev 更新站点的另一个选项。不幸的是,AWS 镜像有一个旧版本的 PyDev。