gharris1727 commented on PR #14011:
URL: https://github.com/apache/kafka/pull/14011#issuecomment-1680884808

   Hi @see-quick @ijuma @showuon I'm having issues running system tests with 
this change.
   I use the default settings, as recommended in the README:
   ```
   TC_PATHS="....." bash tests/docker/run_tests.sh
   ```
   
   I'm receiving this error for tests which use MiniKdc 
(ConnectStandaloneFileTest for example):
   ```
   Unrecognized option: --add-exports
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ```
   This is the Java version that is inside the ducker container when building 
on trunk, which doesn't appear to have this command-line option:
   ```
   $ java -version
   openjdk version "1.8.0_342"
   OpenJDK Runtime Environment (build 1.8.0_342-b07)
   OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
   $ java 2>&1 | grep add-exports
   ```
   
   Does the Java version in system tests need to change, or can this option 
only be provided for JDK 9+ builds?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to