Do you have other constraints such that, for java, packaging your app with the jre is an impediment?
What will your application do? Could your app be run on a server using a ‘software as a service’ model?
Can’t use “software as a service”. It must run locally.