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

java (JDK) check

    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

          People

            Unassigned Unassigned
            rjaimes Rafael Jaimes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: