From krueger at lesspain.de Fri Apr 8 07:42:04 2016 From: krueger at lesspain.de (=?UTF-8?Q?Robert_Kr=C3=BCger?=) Date: Fri, 8 Apr 2016 09:42:04 +0200 Subject: Java-based app bundle with minimum os version simply crashes on machine with lower os version Message-ID: Hi, I wanted to require a minimum os version for our app bundle and was disappointed to realize that when I use the LSMinimumSystemVersion key for that in Info.plist that the behaviour of the application when started on an OS with a lower version is simply to crash (I tested by making the min version artificially high, the app normally does run on that machine). There is an explanatory text in the crash log, should the user choose to look at it but that is obviously not what I want to have as behaviour of a commercial application. Do I have any other choice but to program this in Java now? Thanks in advance for any hints, Robert From mik3hall at gmail.com Sat Apr 9 13:35:38 2016 From: mik3hall at gmail.com (Michael Hall) Date: Sat, 9 Apr 2016 08:35:38 -0500 Subject: Java-based app bundle with minimum os version simply crashes on machine with lower os version In-Reply-To: References: Message-ID: <07FA91D7-0E0C-4CDF-A917-E14A678768BC@gmail.com> > On Apr 8, 2016, at 2:42 AM, Robert Kr?ger wrote: > I wanted to require a minimum os version for our app bundle and was > disappointed to realize that when I use the LSMinimumSystemVersion key for > that in Info.plist that the behaviour of the application when started on an > OS with a lower version is simply to crash Wouldn?t this be all OS and nothing to do with java? Michael Hall From swpalmer at gmail.com Sat Apr 9 14:52:55 2016 From: swpalmer at gmail.com (Scott Palmer) Date: Sat, 9 Apr 2016 10:52:55 -0400 Subject: Java-based app bundle with minimum os version simply crashes on machine with lower os version In-Reply-To: <07FA91D7-0E0C-4CDF-A917-E14A678768BC@gmail.com> References: <07FA91D7-0E0C-4CDF-A917-E14A678768BC@gmail.com> Message-ID: On Apr 9, 2016, at 9:35 AM, Michael Hall wrote: >> On Apr 8, 2016, at 2:42 AM, Robert Kr?ger wrote: > >> I wanted to require a minimum os version for our app bundle and was >> disappointed to realize that when I use the LSMinimumSystemVersion key for >> that in Info.plist that the behaviour of the application when started on an >> OS with a lower version is simply to crash > > Wouldn?t this be all OS and nothing to do with java? > > Michael Hall I think it would be part of the launcher binary that is in the app bundle. Scott From krueger at lesspain.de Mon Apr 11 05:28:39 2016 From: krueger at lesspain.de (=?UTF-8?Q?Robert_Kr=C3=BCger?=) Date: Mon, 11 Apr 2016 07:28:39 +0200 Subject: Java-based app bundle with minimum os version simply crashes on machine with lower os version In-Reply-To: References: <07FA91D7-0E0C-4CDF-A917-E14A678768BC@gmail.com> Message-ID: On Sat, Apr 9, 2016 at 4:52 PM, Scott Palmer wrote: > On Apr 9, 2016, at 9:35 AM, Michael Hall wrote: > > >> On Apr 8, 2016, at 2:42 AM, Robert Kr?ger wrote: > > > >> I wanted to require a minimum os version for our app bundle and was > >> disappointed to realize that when I use the LSMinimumSystemVersion key > for > >> that in Info.plist that the behaviour of the application when started > on an > >> OS with a lower version is simply to crash > > > > Wouldn?t this be all OS and nothing to do with java? > > > > Michael Hall > > I think it would be part of the launcher binary that is in the app bundle. > I would think so and I would have expected something like a system dialog displaying a message like "this application needs at least OS 10.9.0 to run, exiting.." and then the startup being aborted. Does anyone know if that's a bug or if it's just a case of nobody having taken the time to write code for that system dialog and having put an assert in there instead?