The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.
See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.
See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases.
Which of the following items is not an advantage of self-contained applications?
True or False: MIME type must always be used to set up a file association.
What elements are used to identify the entry points for self-contained applications in the <fx:deploy>
Ant task?
Write the <fx:deploy>
Ant task to generate a Windows MSI bundle for a simple application named My Sample App. The JAR file for the application is in the dist
directory, the main class is samples.MyApp
, and output files are to be written to the current directory.
Enhance the code from the previous exercise to create bundles for all Windows installers and define a file association for text files.