Oracle has announced that effective January 2019, Java SE 8 public updates will no longer be available for “Business, Commercial or Production use” without a commercial license.
VMware has a commercial license and support agreement with Oracle for Java SE for Embedded Use and our commercial license allows for distribution until November 4, 2022.
vSAN Java SDK version 6.6.0 or higher is compatible with OpenJDK 1.8. We recommend users download vSAN Java SDK version 6.6.0 or higher if they want to use OpenJDK to compile SDK code.
VMware plans to migrate vSAN Java SDK from Oracle JDK to OpenJDK. This article outlines whether each vSAN SDK Version from vSAN SDK Download Page is compatible with OpenJDK or not and gives recommendations.
Troubleshooting
If hitting error - "error: package jakarta.xml.ws does not exist" when building sample code with OpenJDK, upgrade VMware vSphere Web Services SDK to version 8.0 Update 1 and onwards, delete all .jar files in the directory "lib" at the same level, and rebuild vSAN Java SDK locally.