【问题标题】:I got missing executeable files after installing OpenJDK OpenJ9 in ubuntu 18.04在 ubuntu 18.04 中安装 OpenJDK OpenJ9 后,我丢失了可执行文件
【发布时间】:2019-06-20 03:58:32
【问题描述】:

我最近从https://launchpad.net/~rpardini/+archive/ubuntu/adoptopenjdk 在我的 Ubuntu 18.04 机器上安装了 OpenJ9 jvm,并在我的终端中收到了这个通知:

    ** Missing executable /usr/lib/jvm/adoptopenjdk-11-jdk- 
    openj9/bin/jcmd even though man page /usr/lib/jvm/adoptopenjdk- 
    11-jdk-openj9/man/man1/jcmd.1.gz exists.
    ** This is probably a bug in AdoptOpenJDK and should be reported 
    upstream.
    ** Missing executable /usr/lib/jvm/adoptopenjdk-11-jdk- 
    openj9/bin/jinfo even though man page /usr/lib/jvm/adoptopenjdk- 
    11-jdk-openj9/man/man1/jinfo.1.gz exists.
    ** This is probably a bug in AdoptOpenJDK and should be reported 
    upstream.
    ** Missing executable /usr/lib/jvm/adoptopenjdk-11-jdk-                                
    openj9/bin/jmap even though man page /usr/lib/jvm/adoptopenjdk- 
    11-jdk-openj9/man/man1/jmap.1.gz exists.
    ** This is probably a bug in AdoptOpenJDK and should be reported 
    upstream.
    ** Missing executable /usr/lib/jvm/adoptopenjdk-11-jdk-                                                                                                                                                                                                                                                                                
    openj9/bin/jstat even though man page /usr/lib/jvm/adoptopenjdk- 
    11-jdk-openj9/man/man1/jstat.1.gz exists.
    ** This is probably a bug in AdoptOpenJDK and should be reported 
    upstream.
    ** Missing executable /usr/lib/jvm/adoptopenjdk-11-jdk- 
    openj9/bin/jstatd even though man page 
    /usr/lib/jvm/adoptopenjdk-11-jdk-openj9/man/man1/jstatd.1.gz 
    exists.
    ** This is probably a bug in AdoptOpenJDK and should be reported 
    upstream.

我已经尝试运行 Spring Tool Suit,目前没有出现任何问题。

我应该担心这个吗? 如果我能做些什么来修复这些丢失的文件,请教我。我对 jvm 的工作原理知之甚少。 提前谢谢你。

【问题讨论】:

    标签: java jvm ubuntu-18.04 openj9 adoptopenjdk


    【解决方案1】:

    除非您需要 jinfo、jstat 或 jstatd,否则您可以放心地忽略来自 update-alternatives 的警告(OpenJ9 不提供这些命令)。我打开了一个问题 [1],建议仅应为提供的命令包含手册页。

    请注意,jcmd 和 jmap 已添加到较新版本的 OpenJ9 中。

    [1]https://github.com/eclipse/openj9/issues/8732

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-09-21
      • 2021-11-22
      • 2019-08-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-08-09
      相关资源
      最近更新 更多