Class ChooseJavaVMConsole

  • All Implemented Interfaces:
    Referenceable

    public final class ChooseJavaVMConsole
    extends Action
    Displays the console panel which allows developers to have the end user select the Java VM that will be used for any installed LaunchAnywhere Launchers.

    Developers can specify the type of VM that the end user should select, and the panel will search the system for an appropriate VM. By default it searches for "jre", "java" and "jview" executables on the end user's machine.
    • Constructor Detail

      • ChooseJavaVMConsole

        public ChooseJavaVMConsole()
    • Method Detail

      • getTitle

        public java.lang.String getTitle()
        Returns the title of the panel.
      • setTitle

        public void setTitle​(java.lang.String title)
        Defines the title of the panel. Default is "Choose Java Virtual Machine".
      • setPrompt

        public void setPrompt​(java.lang.String prompt)
        Defines the panel's prompt to display. Default is "Please Choose a Java VM for Use by the Installed Application".
      • getPrompt

        public java.lang.String getPrompt()
        Returns the panel's prompt to display.
      • setOfferVMInstallation

        public void setOfferVMInstallation​(boolean offerVMInstallation)
        Whether or not to offer the end-user the option of having the installer install a VM.
      • setAllowChooseSpecificExe

        public void setAllowChooseSpecificExe​(boolean state)
        Whether or not to allow the end-user to locate a specific java executable
      • getOfferVMInstallation

        public boolean getOfferVMInstallation()
        Whether or not to offer the end-user the option of having the installer install a VM.
      • getAllowChooseSpecificExe

        public boolean getAllowChooseSpecificExe()
        Whether or not to allow the end-user to locate a specific java executable