CayenneModeler on Java 17

Andrus Adamchik <[email protected]>
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>
Hi folks,

Wanted to mention that there's a known issue with CayenneModeler (all versions) and Java 17. We created a Jira [1] and will be working on a fix. Luckily there are workarounds (also described in the Jira) :

* You can use cross-platform Modeler
* On Mac you can launch the "native" Mac Modeler with an older JVM from the command line:

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

Andrus

[1] https://issues.apache.org/jira/browse/CAY-2721
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.