If an appropriate version of the JRE is not already installed, you can prompt the user to download and install the Java SE Runtime Environment, or your installation program can install a copy of the Java SE Runtime Environment that you redistribute with your application. If your application has an installation program, you can have that program check the registry to determine which version, if any, of the runtime environment already exists on the platform on which your software is being installed. You can consider using the registry settings in the deployment of your applications in the following ways: The application launcher in the system directory uses the registry settings to obtain the location of the Java SE Runtime Environment they are to use when launching an application. The installation program for the Microsoft Windows version of the Java SE Runtime Environment uses the registry to record path and version information. NOTE - The Java SE Runtime Environment has two version numbers - external version number is 6 and internal version number 1.6.0. You need only provide users with a command line of the form The system directory is on the default system path of the operating systems, so users of your software won't need to modify any paths in order for the launchers to be available for your application. (The system directory varies depending on the Microsoft Windows version, but is usually either C:\winnt\system32 or C:\windows\system.) In addition, if no more recent version is already installed on the machine, the installer puts copies of the java and javaw application-launcher executables in the Microsoft Windows system directory. By default, the installer places a copy of the runtime environment in the C:\Program Files\Java\jre1.6.0 directory. The Java SE Runtime Environment for Microsoft Windows platforms is bundled with its own installer program. For general platform-independent information about the Java SE Runtime Environment, see Runtime Environment Notes for Developers. These notes contain information for developers who are deploying the Java SE Runtime Environment (JRE) on Microsoft Windows platforms.
0 Comments
Leave a Reply. |