modules/jdk.packager/src/main/java/com/sun/javafx/tools/packager/Main.java

Print this page

        

@@ -40,11 +40,14 @@
 import java.nio.file.Files;
 import java.nio.file.Path;
 
 import jdk.packager.internal.legacy.JLinkBundlerHelper;
 
-
+/**
+ * @deprecated use {@link ToolProvider} to locate the {@code "javapackager"} tool instead.
+ */
+@Deprecated(since="10", forRemoval=true)
 public class Main {
 
     private static final ResourceBundle bundle =
             ResourceBundle.getBundle("com/sun/javafx/tools/packager/Bundle");