<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error while running the SAP JCO java program running via command line in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456002#M1649968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how I could help you. That blog also mentions how to check what classpath is actually used in program by writing out classpath at the beginning of program. I would double check if classpath is really same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jan 2012 03:54:10 GMT</pubDate>
    <dc:creator>mvoros</dc:creator>
    <dc:date>2012-01-10T03:54:10Z</dc:date>
    <item>
      <title>Error while running the SAP JCO java program running via command line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8455999#M1649965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    We are facing an issue while using SAP JCO. When i try to run the sample program using RAD 8.0 ( IBM IDE tool For Java Development) its working fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same sample program if i try to run using command line, Then its giving below exception message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Exception in thread "main" java.lang.NoClassDefFoundError: Integration&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: I have configured proper sapjco jar &amp;amp; Dll files path in class path settings in my batch file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 01:17:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8455999#M1649965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-10T01:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running the SAP JCO java program running via command line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456000#M1649966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class loader can't find class definition during runtime but it could find it during compilation. So the problem is with your classpath. Does your classpath point to file with class Integration? Check this [blog|http://javarevisited.blogspot.com.au/2011/06/noclassdeffounderror-exception-in.html].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Added reference to blog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 02:05:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456000#M1649966</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2012-01-10T02:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running the SAP JCO java program running via command line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456001#M1649967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;                 Thanks for your reply. I was already aware that it was due to classpath issue. The exact problem is, I could not able to locate the class Integration. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I use the same classpath setting for both compilation &amp;amp; running the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The blog location you mentioned in your reply is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 03:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456001#M1649967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-10T03:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running the SAP JCO java program running via command line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456002#M1649968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how I could help you. That blog also mentions how to check what classpath is actually used in program by writing out classpath at the beginning of program. I would double check if classpath is really same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 03:54:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456002#M1649968</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2012-01-10T03:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running the SAP JCO java program running via command line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456003#M1649969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is related to class path only,have you mentioned the path of your proper jar files in the classpath as well as path, please do it in both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after then check, I will also suggest you to go into jar directory and then try to execute it, so that you can come to know the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Barnawal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 21:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456003#M1649969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-10T21:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running the SAP JCO java program running via command line</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456004#M1649970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;            Thanks for your message. I copied the jar &amp;amp; dll files in the same folder as suggested by SAP JCO documentation. Also, the location of jar &amp;amp; dll has been updated into Path as well as classpath variables. The compilation is successful after i configured the path. Now, the issue is only while running the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 01:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-running-the-sap-jco-java-program-running-via-command-line/m-p/8456004#M1649970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-11T01:45:47Z</dc:date>
    </item>
  </channel>
</rss>

