Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-4525

~/.java/current is empty when using Intelij IDEA

XMLWordPrintable

    • False
    • None
    • False

      Description of problem:

      When using  che-incubator/che-idea/latest  it seems that java does not work,
      The /home/user/.java/current folder and its content is missing.

       

      the downstream UDI image registry.redhat.io/devspaces/udi-rhel8,
      where which java says
      which: no java in (/home/user/.java/current/bin:/home/user/node_modules/.bin/:/home/user/.npm-global/bin/:/opt/app-root/src/.npm-global/bin/:/opt/apache-maven/bin:/opt/gradle/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
      But not with the upstream one quay.io/devfile/universal-developer-image
      where which java returns ~/.sdkman/candidates/java/current/bin/java
      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      https://github.com/MazArslan/demo-backend
      Example repo

      Actual results:

      Expected results:

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      https://redhat-internal.slack.com/archives/C011LSD1R4M/p1686667245822229

       *

        1. ds_3.10.0_quarkus_quickstart.png
          169 kB
          Dmytro Nochevnov
        2. image-2023-06-14-18-51-01-802.png
          104 kB
          Artem Zatsarynnyi
        3. image-2023-06-14-19-05-38-329.png
          12 kB
          Artem Zatsarynnyi

              vgulyy Vitaliy Gulyy
              marslan1@redhat.com Mazlum Arslan (Inactive)
              Dmytro Nochevnov Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: