[ https://issues.apache.org/jira/browse/SPARK-24255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16690437#comment-16690437 ]
Kazuaki Ishizaki commented on SPARK-24255: ------------------------------------------ I do not know an existing library to parse output of {{java -version}}. You may want to know the difference between OpenJDK and Oracle JDK, as shown [here|https://stackoverflow.com/questions/36445502/bash-command-to-check-if-oracle-or-openjdk-java-version-is-installed-on-linux] and [there|https://qiita.com/mao172/items/42aa841280dc5a4e9924]. Output of OpenJDK 12-ea. {code} $ ../OpenJDK-12/java -version openjdk version "12-ea" 2019-03-19 OpenJDK Runtime Environment (build 12-ea+20) OpenJDK 64-Bit Server VM (build 12-ea+20, mixed mode, sharing) $ ../OpenJDK-12/java Version jave.specification.version=12 jave.version=12-ea jave.version.split(".")[0]=12-ea {code} > Require Java 8 in SparkR description > ------------------------------------ > > Key: SPARK-24255 > URL: https://issues.apache.org/jira/browse/SPARK-24255 > Project: Spark > Issue Type: Bug > Components: SparkR > Affects Versions: 2.3.0 > Reporter: Shivaram Venkataraman > Assignee: Shivaram Venkataraman > Priority: Major > Fix For: 2.3.1, 2.4.0 > > > CRAN checks require that the Java version be set both in package description > and checked during runtime. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org