Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Why do JRE 8u20 and 8u25 install as static?

2807611Dec 3 2014 — edited Mar 10 2015

Why do the installs of JRE 8u20 and 8u25 seem to be hard coded to install as static?

These versions end up in their own folders under Program Folders.

C:\Program Folders\Java\jre1.8.0_20

C:\Program Folders\Java\jre1.8.0_25

The earlier JRE 8's like 8u5 and 8u11 installed to "C:\Program Files\Java\jre8".

According to this information (Installing With a Configuration File) the install should default to not static.

Attempts at setting "STATIC=Disable" in a config file for the exe install or on the msi command line will still result in static installs.

Is Oracle switching direction again and going back to the old way of leaving all versions on the system?

Comments

Ramon Kroese

Oracle has made some changes as you can read in the Java SE 8u20 release notes (Java™ SE Development Kit 8, Update 20 Release Notes):

Java Installer Changes

A new Microsoft Windows Installer (MSI) Enterprise JRE Installer which enables user to install the JRE across the enterprise, is available. See Downloading the Installer section in JRE Installation for Microsoft Windows for more information. The MSI Enterprise JRE Installer is only available as part of Java SE Advanced or Java SE Suite. For information about these commercial products, see Java SE Advanced and Java SE Suite.

In other words you have to buy Java SE Advanced or Java SE suite to download the MSI Enterprise JRE Installer through My Oracle Support (MOS).

Rogerl-Oracle

The installations are static due to this change starting in 8u20:

http://www.oracle.com/technetwork/java/javase/8u20-relnotes-2257729.html

 

JRE Installation Directory

Starting with JDK 8u20 release, the JRE will be installed in a version specific directory. For example:

C:\Program Files\Java\jre1.8.0_20

The version specific directory naming is intentional and it does not indicate that the JRE install is static.

As with the earlier releases, static JRE install is performed only if STATIC=1 option is passed (via command line or config file) by the user.

-Roger

2812883

You just mentionned they ARE static, yet it says

As with the earlier releases, static JRE install is performed only if STATIC=1 option is passed (via command line or config file) by the user.

If you install 1.8.0_25 and 1.8.0_31 after, you have 2 versions of Java on your machine, because it does not upgrade the previous one (Non static Java installs always upgraded the previous versions). This definately looks like a static install to me, otherwise I should be left with only 1 version of Java. I haven't specified it to be static yet it is behaving like a static install.

2812883

Which also means that poor home users that aren't tech savy at all will eventually be left with a bunch of outdated java 1.8 versions on their machines..

2812883

An answer would be greatly appreciated! Thanks

user3252393

I agree.  We need information from Oracle on this.

1 - 6
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 7 2015
Added on Dec 3 2014
6 comments
3,423 views