on ‎2023 Jul 18 3:25 PM
Hi,
I'm currently trying to upgrade the hybris version from 2105 to 2205 and I get the following error: Unrecognized option : --add-opens and the ant clean all fails. I've upgrated the java version to 17 and also tried to add the VM options "--add-opens java.base/java.lang=ALL-UNNAMED" but it does not have any effects. Also added to environment variables but still nothing even there seems to be picked up when setantenv.bat but then the same error occur.
This happens after is trying to create the dir modelclasses and to copy some source files to this. See below:
[echo] building models from myHybrisProjectPath\hybris\bin\platform/bootstrap/gensrc to myHybrisProjectPath\hybris\bin\platform/bootstrap/bin/models.jar
[mkdir] Created dir: myHybrisProjectPath\hybris\bin\platform\bootstrap\modelclasses
[yjavac] Compiling 2440 source files to myHybrisProjectPath\hybris\bin\platform\bootstrap\modelclasses
[yjavac] Unrecognized option : --add-opens
BUILD FAILED
Thank you in advance for possible answers!
Request clarification before answering.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.