APAR status
Closed as program error.
Error description
The server.bat script displays the following error message when JAVA_HOME is not set: The system cannot find the batch label specified - eof
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server Liberty Core on Windows * **************************************************************** * PROBLEM DESCRIPTION: The server.bat script displays an * * error message when JAVA_HOME is not * * set and java.exe is not found in the * * PATH. * **************************************************************** * RECOMMENDATION: * **************************************************************** When java.exe is not in the PATH and JAVA_HOME is not set, an error message is displayed: "The system cannot find the batch label specified - eof" The server.bat has a goto statement "goto eof" which is meant to return from a function. The statement is missing a colon. It should read "goto :eof". The problem occurs in Liberty 23.0.0.10 through 24.0.0.2. To avoid the error message, either add the location of java.exe to your PATH or set the JAVA_HOME environment variable.
Problem conclusion
The server.bat script has been corrected. This means you will no longer see the error message complaining about the batch label. However, you still need to add the location of java.exe to your PATH or set the JAVA_HOME environment variable. Otherwise, you will see a different error message that says java "is not recognized as an internal or external command, operable program or batch file." The fix for this APAR is targeted for inclusion in fix pack 24.0.0.3. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH60430
Reported component name
WAS LIBERTY COR
Reported component ID
5725L2900
Reported release
CD0
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2024-03-19
Closed date
2024-03-25
Last modified date
2024-03-25
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WAS LIBERTY COR
Fixed component ID
5725L2900
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]
Document Information
Modified date:
04 April 2024