You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2019/02/19 02:40:00 UTC

[jira] [Commented] (SPARK-26919) change maven default compile java home

    [ https://issues.apache.org/jira/browse/SPARK-26919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771514#comment-16771514 ] 

Apache Spark commented on SPARK-26919:
--------------------------------------

User 'MrDLontheway' has created a pull request for this issue:
https://github.com/apache/spark/pull/23834

> change maven default compile java home
> --------------------------------------
>
>                 Key: SPARK-26919
>                 URL: https://issues.apache.org/jira/browse/SPARK-26919
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 2.4.1
>            Reporter: daile
>            Priority: Critical
>         Attachments: p1.png
>
>
>   when i use "build/mvn -DskipTests clean package"  the deafult java home Configuration "
> ${java.home}". I tried the environment of mac os and winodws and found that the default java.home is */jre but the jre environment does not have the javac complie command. So I think it can be replaced with the system environment variable and the test is successfully compiled.
> !image-2019-02-19-10-25-02-872.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org