Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

Building and Running Samples (vSphere Web Services SDK 6.0 and JDK 8 (1.8.0_x) and make code

$
0
0


What are the necessary actions in order to build and run vSphere Management SDK 6.0 samples using Java JDK 8 (1.8.0_x)

 


I have followed the Developer's setup guide. Aparently samples and stubs are correctly generated but when running one sample, errors are displayed.


run.bat com.vmware.general.SimpleClient --url https://IP_addr/sdk  --username user --password pwd --ignorecert ignorecert



WARNING: Java is now set to trust all SSL certificates.
-- VMware samples in Java --
java.security.cert.CertificateException: Subject class type invalid.
        at sun.security.x509.X509CertInfo.setSubject(X509CertInfo.java:888)
        at sun.security.x509.X509CertInfo.set(X509CertInfo.java:415)


Thanks


 


Viewing all articles
Browse latest Browse all 1860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>