function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mnz123mnz123 

unable to generate enterprise.jar

Following is what I tried...
java -DcompileTarget=1.5 -classpath "C:\Program Files\Java\jdk1.7.0_55\lib\tools.jar;c:\salesforce\force-wsc-29.0.0.jar" com.sforce.ws.tools.wsdlc c:\salesforce\wsdl\enterprise.wsdl c:\salesforce\jar\enterprise.jar

Please guide thanks.
NehalNehal (Salesforce Developers) 
Hi,

Please go through links below:

1.https://developer.salesforce.com/forums?id=906F00000008rudIAA
2.http://kavayah.blogspot.co.uk/2011/11/generate-enterprisejar-or-partnerjar-or.html
3.https://github.com/forcedotcom/wsc/issues/29
4.http://stackoverflow.com/questions/16065077/problems-building-wsc-jar-files-from-salesforce-enterprise-wsdl
5.http://salesforce.stackexchange.com/questions/22498/java-lang-noclassdeffounderror-com-sforce-soap-enterprise-connector

I hope this helps.

Please mark this as a "Best Answer" if this has resolved your issue.