JDK-8202065 : jre/bin/javaw.exe is missing from server-jre for windows since 8u171
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 8u171
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_10
  • CPU: x86_64
  • Submitted: 2018-04-19
  • Updated: 2018-10-16
  • Resolved: 2018-04-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 8
11Fixed 8u181 b05Fixed
Related Reports
Duplicate :  
Sub Tasks
JDK-8203544 :  
Description
ADDITIONAL SYSTEM INFORMATION :
Unpacked on windows

A DESCRIPTION OF THE PROBLEM :
The Oracle archives for server-jre-8u171-windows-x64.tar.gz and server-jre-8u172-windows-x64.tar.gz miss jre/bin/javaw.exe and jre/bin/jabswitch.exe. Both files have been shipped with the previous update and there is no mentioning of this incompatible change in the release notes.

BTW: i also noticed that bin/java.exe and jre/bin/java.exe launcher binaries actually differ in content:

25abe76ac5961f65e4e4a26673dde367  /mnt/c/temp/jdk1.8.0_171/bin/java-rmi.exe
eb7039e11119914d2a71e398f0ba5e11  /mnt/c/temp/jdk1.8.0_171/jre/bin/java-rmi.exe
3b60979092749a75ae788f250c5cf2b1  /mnt/c/temp/jdk1.8.0_171/bin/java.exe
c9ad1244d33b412bfe75f98a45052241  /mnt/c/temp/jdk1.8.0_171/jre/bin/java.exe


REGRESSION : Last worked in version 8u162

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
unpack server-jre-8u171-windows-x64.tar.gz and start jre/bin/javaw.exe

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
command executes
ACTUAL -
command is missing

CUSTOMER SUBMITTED WORKAROUND :
copy executable from JDK which might be a licensing problem. Using java.exe instead of javaw.exe is not an option because it opens up additional console windows.

FREQUENCY : always



Comments
jabswitch.exe is deliberately pruned out here: ###################################################### # SERVER JDK Binaries ###################################################### # List of files that must not have in Server JRE (JDK-8162951) FILES_TO_REMOVE_FROM_SERVERJRE := $(addprefix $(JDK_TEMPORARY_DIR)/, \ bin/jabswitch.exe \ jre/bin/jabswitch.exe \ db \ include/win32/bridge \ jre/lib/accessibility.properties \ https://java.se.oracle.com/source/xref/jdk8u-cpu/install/make/common/Binaries.gmk#273
07-06-2018

Update from Jeannette: The rationale for not having the Java AccessBridge in a server JRE is that the environment is a server machine. It���s put there once by a system admin and then used as a backend for a lot of server programs. Accessibility is needed for client apps, not server ones, since client apps will be using user interfaces to read windows, type characters, etc and thus have screen magnifiers or voice readers would be important.
07-06-2018

Tested with 8u181-b08 Test Bundle: https://java.se.oracle.com/artifactory/re-release-local/jdk/8u181/b08/bundles/windows-x64/server-jre-8u181-windows-amd64.tar.gz Bug description states "The Oracle archives for server-jre-8u171-windows-x64.tar.gz and server-jre-8u172-windows-x64.tar.gz miss jre/bin/javaw.exe and jre/bin/jabswitch.exe." Verified \jre\bin\javaw.exe can be found - PASS Missing: jre\bin\jabswitch.exe - FAIL (\bin\jabswitch.exe also cannot be found) Bill - please confirm if missing jre\bin\jabswitch.exe file is a bug In 8u161 both \bin\jabswitch.exe and \jre\bin\jabswitch.exe files can be found
07-06-2018

CPU18_07-critical-request - Justification : javaw.exe should be in server jre - Risk Analysis : low risk, just no longer pruning javaw.exe - Webrev : https://java.se.oracle.com/code/cru/CR-JDK-CLIENT-56 - Testing (done/to-be-done) : see crucible - Back ports (done/to-be-done) : 8ucpu/11 - FX Impact : NA - Fix For Release : 8ucpu/11
25-04-2018

https://java.se.oracle.com/code/cru/CR-JDK-CLIENT-56
24-04-2018

It looks as though the agreement is that javaw.exe should be part of the server-jre.
24-04-2018

Assigning to Aurelio to confirm if this is expected.
20-04-2018

This is probably not an installer issue as we just bundle up what we find in the images. Will check with the build team.
20-04-2018

[~billyh] Please evaluate this P2 as soon as you can
20-04-2018

Reported for Server JRE 8u171 and Server JRE 8u172 for Windows. Checked this for reported versions and confirmed that the jre/bin/javaw.exe and jre/bin/jabswitch.exe are not part of the packaeg. This reflects in Linux bundle too. There is no information regarding this in release notes either. Ref: http://www.oracle.com/technetwork/java/javaseproducts/documentation/8u172-revision-builds-relnotes-4465508.html This is also being discussed at Oracle community forums: https://community.oracle.com/thread/4138987?start=0&tstart=0 jre/bin/javaw.exe and jre/bin/jabswitch.exe are part of previous releases Server JRE 8u161 and Server JRE 8u162. This need to be confirmed if this is a known change.
20-04-2018