AUT with Java 11 [message #1804397] |
Mon, 25 March 2019 12:52  |
Eclipse User |
|
|
|
Hi there,
we are testing one of our application with JUBULA. When we start our application wih a JRE 8, everything is working. When we switch the undelying JVM to e.g. JAVA 11, the AUT is not starting anymore, the application simply crashes . Are there any log messages where we can find some additional information about the reason for this, or is there no support (or not yet) for AUT running under > JAVA 8?
Thanks in advance,
Christoph
|
|
|
Re: AUT with Java 11 [message #1804432 is a reply to message #1804397] |
Tue, 26 March 2019 05:47   |
Eclipse User |
|
|
|
Hello Christoph,
Log messages are located in your HOME_DIRECTORY/.jubula/logs . But I assume it is because of the modularization after Java 9. From our release notes:
Quote:Java 9 and later
Java 9 and later applications must be started with the jvm arguments '--add-opens=javafx.controls/javafx.scene.control.skin=ALL-UNNAMED-illegal-access=permit'. This is necessary because we are using internal information to get e.g. some position information of components.
best regards
Marvin Mueller
|
|
|
Re: AUT with Java 11 [message #1804504 is a reply to message #1804432] |
Wed, 27 March 2019 13:25   |
Eclipse User |
|
|
|
Hi Marvin,
thanks for your quick answer. Do we have to add the jvm argument --add-opens=javafx.controls/javafx.scene.control.skin=ALL-UNNAMED-illegal-access=permit to our own application, or this to be added to the eclipse.ini?
Thanks in advance,
Christoph
|
|
|
|
Powered by
FUDForum. Page generated in 0.02959 seconds