Details
Description
Native versions of CayenneModeler (Mac, Windows) can't start with Java 17. The problem was first reported here: https://lists.apache.org/thread.html/r6576791ff65f9da0265a8e06d544ba7f57d680848a2e997c891429eb%40%3Cdev.cayenne.apache.org%3E
On MacOS this is a problem, because after installing Java 17, it becomes the default desktop JVM.
Workarounds:
- Use cross-platform Modeler. Start it from CLI as "java -jar CayenneModeler.jar" (works on Java 17)
- (On MacOS) start native CayenneModeler from CLI using Java 11:
export CLASSPATH=`find ./CayenneModeler.app/Contents/Java -name '*.jar' \ |perl -ne 'chomp; print "$_:"'` java -Xmx500m -Dapple.laf.useScreenMenuBar=true -cp $CLASSPATH \ org.apache.cayenne.modeler.osx.OSXMain
Attachments
Issue Links
- is related to
-
CAY-2711 JDK 17 compatibility
- Closed