When Apple developed the Java SDK for macosx, you could open a .app mac-style application bundle written in Java by doubleclicking its icon in Finder, its app icon will show up in your dock while it was running, and its menu items would live in the Mac OS menu bar. Java apps behaved almost like native Mac apps. 

On the other hand, if you install the current Java SDK from Oracle, you can execute your Java application with "java -jar YourApp.app/MacOS/yourapp.jar", but you get a generic dock icon, your menu items live on top of the window instead of menu bar. 

And if you don't have Java 6 from Apple installed on the machine, which is not included in recent versions of the OS but still available for download from apple (but it's pretty out of date at this point), then you just get an error message dialogue telling you to install Java 6 from Apple, even though you already have Java 8 installed already. 

On a Mac with Java 8 from Oracle installed, but not Java 6 from Apple, is there a way to open a Java app from finder, or retain these other native platform compatibilities?