-
Notifications
You must be signed in to change notification settings - Fork 704
Open
Labels
Description
Describe the bug
When I build with Maven on Linux, the Win32 build it produces reports "Incompatible JVM" on launch. By diffing it against an official release downloaded from github, I found that it's missing plugins/name.abuchen.zulu.jre.win32.x86_64_21.0.5
(and the reference to it in PortfolioPerformance.ini). If I manually copy that plugin from an official release & edit the .ini file, it works.
Is @buchen using a different build process? (see steps below)
To Reproduce
Steps to reproduce the behavior:
- On Linux:
../apache-maven-3.9.11/bin/mvn -f portfolio-app/pom.xml -Dmaven.repo.local=../m2 clean verify
- Grab the Win32 release from
portfolio-product/target/products
- Copy to a Windows PC
- Launch. You will see the error dialog shown below (screenshot)
- Edit PortfolioPerformance.ini & add
-vm plugins/name.abuchen.zulu.jre.win32.x86_64_21.0.5/jre/bin
- Copy the
plugins/name.abuchen.zulu.jre.win32.x86_64_21.0.5/jre/bin
folder from a Windows release downloaded from github - Now it works
Expected behavior
Windows build works without having to manually edit PortfolioPerformance.ini & copy the runtime from a prior installation
Screenshots
