Rafael Jaimes created DRILL-7695:
------------------------------------

             Summary: java JDK check
                 Key: DRILL-7695
                 URL: https://issues.apache.org/jira/browse/DRILL-7695
             Project: Apache Drill
          Issue Type: Improvement
          Components: Documentation
            Reporter: Rafael Jaimes


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to