Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can the installer autodetect if there is an existing Java(tm) installation in the system?

0
Posted

Can the installer autodetect if there is an existing Java(tm) installation in the system?

0

Yes, you can make the installer autodetect whether or not there is an existing Java(tm) installation in the system by using an action. If a suitable Java(tm) is found, the action will also create a number of variables, described later on. This action is usually placed at the and if no valid JRE or JDK is found, the installer will abort with an error listing the supported JREs and JDKs. The following example will select any Sun Microsystems JRE 1.3 or newer (for example, 1.3, 1.4, 1.5) or any IBM JRE with version number equal or greater than 1.4.2 but inside the 1.4 series (1.5 will not work at this time).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123