Skip to main content
Hitachi Vantara Knowledge

How to Configure OSS Java in System Path for Gxxx and VSP E Series SVPs

 

Objective

  • This article will show how to configure OSS OpenJDK Java for SVPs and MPCs as the default Java

Environment

  • OSS Java 
  • Gxxx OSS Java
  • OpenJDK Java SVPs
  • SVPs Default Java
  • Windows 10
  • Windows 7
  • VSP Gx00 and VSP Fx00
    • Virtual Storage Platform Gx00 (VSP Gx00): VSP G200, VSP G400, VSP G600, VSP G800
    • Virtual Storage Platform Fx00 (VSP Fx00): VSP F400, VSP F600, VSP F800
  • VSP G130 G/F350 G/F370 G/F700 G/F900
    • VSP G130, G350, G370, G700, G900
    • VSP F350, F370, F700, F900
  • VSP E Series
    • Virtual Storage Platform E590 (VSP E590)
    • Virtual Storage Platform E790 (VSP E790)
    • Virtual Storage Platform E990 (VSP E990)

Procedure

  1. Open Microsoft Add/Remove Programs and verify that Oracle Java is not installed

00_no_java_in_addremoveprograms.PNG

  1. Open Command Prompt as Administrator and run the following command:
    • java --version
      01_java_command_not_recognized.PNG
    • We expect to see ERROR:  'java' is not recognized as an internal or external command, operable program or batch file
  2. Set the OpenJDK Java located in C:\Mapp\OSS\openjdk11\bin using the following command:
    • setx /m PATH "%PATH%;C:\Mapp\OSS\openjdk11\bin"
      02_set_command_for_oss_java.PNG
  3. Reboot the SVP
    03_reboot_svp_after_set_command.PNG
  4. Once the reboot is completed, log back into the SVP and open command prompt. Test the Java --Version command. It should display the OSS OpenJDK Java version
    04_after_reboot_java_version_works.PNG

 

Additional Notes