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

Java is not found for the IDEA-based DevWorkspace

XMLWordPrintable

    • False
    • None
    • False

      Description of problem:

      There are few problems  related to the java:

      • Path contains /home/user/.java/current/bin
        but actually the /home/user/.java is empty
      • the following error occurs when using java in a terminal of the runtime component
      bash-4.4$ java -version bash: java: command not found
      • the runtime component (udi-rhel8) contains symlinks to the java related resources in the folder /home/user/.java/current, but the folder becomes empty at the IDE starting.   

      Steps to Reproduce

      1. Start the IDEA-based DevWorkspace.
      2. Create a terminal for the runtime component (use bottom panel to create a terminal, make sure that it's Local terminal)
      3. Execute the corresponding commands, like:
        java --version
        echo $PATH

       

            azatsary Artem Zatsarynnyi
            rnikiten Roman Nikitenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: