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

Lukas Rytz commented on SPARK-33772:
------------------------------------

It works for me (Adoptium). Maybe it's because the option needs to be passed 
*before* the unknown option?
{code:java}
➜ ~ java -INVALID -version
Unrecognized option: -INVALID
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
➜ ~ java -XX:+IgnoreUnrecognizedVMOptions -INVALID -version
openjdk version "1.8.0_302"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_302-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.302-b08, mixed mode)
➜ ~{code}

> Build and Run Spark on Java 17
> ------------------------------
>
>                 Key: SPARK-33772
>                 URL: https://issues.apache.org/jira/browse/SPARK-33772
>             Project: Spark
>          Issue Type: New Feature
>          Components: Build
>    Affects Versions: 3.3.0
>            Reporter: Dongjoon Hyun
>            Priority: Major
>
> Apache Spark supports Java 8 and Java 11 (LTS). The next Java LTS version is 
> 17.
> ||Version||Release Date||
> |Java 17 (LTS)|September 2021|



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to