Java app is killed on startup

What does fly status --all -a <app-name> tell you about health-checks / statuses of deployed instances (VMs)?

For ex, here’s status of my NodeJS app:

➜  fly status --all -a ____                              
App
  Name     = ____  
  Owner    = ____           
  Version  = 435               
  Status   = running           
  Hostname = ____.fly.dev  
  Platform = nomad             

Instances
ID      	PROCESS	VERSION	REGION	DESIRED	STATUS 	HEALTH CHECKS      	RESTARTS	CREATED              
d3adbeef	app    	435 ⇡  	aws   	run    	running	2 total, 2 passing 	0       	2022-10-23T07:38:18Z	
deadb33f	app    	425    	aws   	evict  	failed 	2 total, 2 critical	0       	2022-08-18T13:25:20Z	

Btw, folks at codecentric.de wrote quite a nice post about getting Spring up and running on Fly that may have a pointer or two in case you’ve not read it already.