• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

The JavaFX window closes immediately

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello !

I made a minimal JavaFX application for testing purposes.

On my MacBook (Sonoma - version 14.2.1 ), openjdk version "21.0.2" 2024-01-16, everything works perfectly (use of jpackage resulting a dmg file).

This same dmg transferred to an old MacBook Pro, macOS version is 10.15, the window appears and closes immediately.

The log shows:
default 19:15:42.043857+0100 JavaFX-demo ERROR: macOS version is 10.15, which is below the minimum of 11.0".

My question
Where do you manage the minimum version applicable to the application?

Thanks for your help and best regards from France.

 
Saloon Keeper
Posts: 15731
368
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to CodeRanch!

The minimum OS version is tied to the JavaFX version. If you want to support older system, you need an older JavaFX version.
 
Henry Daniel
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Stephan van Hulst

Thanks a lot for your answer.
I didn't know that detail...
 
My favorite is a chocolate cupcake with white frosting and tiny ad sprinkles.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic