Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7695

java (JDK) check

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • Documentation
    • None

    Description

      The 10 minute tutorial suggests 'java -version' to check if a JDK is installed. I believe it only shows the JRE. Because OpenJDK includes a JRE variant only, it can sometimes be confusing as to whether someone who's installed an openjdk package actually has the full JDK or just a JRE.

      I believe the better command is: 'javac -version' to check for the existence of a java compiler, which should be better represented of having a JDK installed.

      On my Red Hat 7 system, I installed java-1.8.0-openjdk-devel.x86_64

       

      >>> javac -version
      javac 1.8.0_242

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            rjaimes Rafael Jaimes

            Dates

              Created:
              Updated:

              Slack

                Issue deployment