cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (Jira)" <j...@apache.org>
Subject [jira] [Updated] (CAY-2721) Platform builds of CayenneModeler don't work with Java 17
Date Mon, 27 Sep 2021 07:54:00 GMT

     [ https://issues.apache.org/jira/browse/CAY-2721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik updated CAY-2721:
---------------------------------
    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:
{noformat}
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
{noformat}

  was:
*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, haven't tried) start native CayenneModeler from CLI using Java 11.


> Platform builds of CayenneModeler don't work with Java 17
> ---------------------------------------------------------
>
>                 Key: CAY-2721
>                 URL: https://issues.apache.org/jira/browse/CAY-2721
>             Project: Cayenne
>          Issue Type: Task
>         Environment: CayenneModeler 4.0.x, 4.1.x, 4.2.x
>            Reporter: Andrus Adamchik
>            Priority: Major
>
> *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:
> {noformat}
> 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
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message