Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 207710

set up environment with java to esxi

$
0
0

Hai,

            i am trying to execute simpleclient java program with sdk 4.1 pdf

i am getting the following error

 

 

could you please tell me is it possible?

 

 

the errors that i am getting are

 

C:\devprojects\SDK\samples\Axis\java>run.bat com.vmware.samples.general.SimpleCl
ient --url 10.100.12.103 --username root --password teamw0rk
Exception in thread "main" java.lang.NoClassDefFoundError: com/vmware/samples/ge
neral/SimpleClient
Caused by: java.lang.ClassNotFoundException: com.vmware.samples.general.SimpleCl
ient
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.vmware.samples.general.SimpleClient.  Program
will exit.
Done.

 

In the PATH variable it is asked to have path as %AXISHOME%\bin but i did not see any bin file in axis 1.4......the class path related to axis home wil be correct if path does not contain bin (with this assumption i put path=%AXISHOME%; %JAVAHOME%\bin;) i.e without giving bin in the path as bin is not there in axis folder.

 

 

All the SDK folder that i downloaded containing the .java file extensions only.

 

 

 

 

i downloaded the apache axis 1.4 bin.zip from the mentioned site.

 

i also set paths JAVAHOME AXISHOME such things.

 

 

for javahome the set value is jre

and the classpath having %JAVAHOME%\lib\tools.jar

 

but jre is not having the tools.jar......jdk is containing the tools.jar file

 

i also got the importing the certificate from the esxi server..

 

they did not put any javac command in the .bat files.

 

could anybody help me......


Viewing all articles
Browse latest Browse all 207710

Trending Articles



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