I needed to replace the last step in prepare()
to get this to build:
JAVA_TOOL_OPTIONS="-Djdk.util.zip.disableZip64ExtraFieldValidation=true" "./${_installer}" LAX_VM /usr/bin/java -f "${srcdir}/installer.properties"
using Java 23 (via sudo archlinux-java set java-23-openjdk
).
Without this, I'm getting the error:
Launching installer...
Error: Port Library failed to initialize: -1
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
and without JAVA_TOOL_OPTIONS
I'm getting "Could not find or load main class com.zerog.lax.LAX". The fix is inspired by https://github.com/NixOS/nixpkgs/pull/338332/files
Pinned Comments
zayn7lie commented on 2024-06-13 08:05 (UTC) (edited on 2024-06-26 08:26 (UTC) by zayn7lie)
Hi, I have adopted the package and updated it. Here are some notifications, please read them before installing:
makepkg
andpacman -U
avoiding using package manager likeyay
cplex_studio2211.linux_x86_64.bin
(downloading from official website IBM CPLEX) into the same directory asPKGBUILD
before runningmakepkg
python-cplex
andpython-docplex
in AUR.-lconcert -lilocplex -lcplex -lm -lpthread -ldl