<?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 JLink adding external libraries to classpath in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/JLink-adding-external-libraries-to-classpath/m-p/374768#M4469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Paul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can add jar files by using the config.pro option add_java_class_path. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the option once for each jar library like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;add_java_class_path &amp;lt;full path="&amp;gt;\xxx.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;add_java_class_path &amp;lt;full path="&amp;gt;\yyy.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bjarne&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul Benoe &amp;lt;diesunddas2@web.de&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;09-03-2010 21:59&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please respond to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul Benoe &amp;lt;diesunddas2@web.de&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Subject&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[proecus] - JLink adding external libraries to classpath&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to use .jar files within my jlink application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I did is to add those to the java_app_classpath within the protk.dat &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;eg.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java_app_classpath ./apps/Library.jar; ./apps/classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java_app_classpath ./apps/Library.jar ./apps/classes &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but neither did work, as soon as I'm calling a class within the .jar a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ClassNotFoundException is thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would be really glad if anybody knows how to handle this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Site Links: View post online View mailing list online Send new post &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;via email Manage your subscription Use of this email content is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;governed by the terms of service at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://portal.ptcuser.org/index.php?module=sthtml&amp;amp;op=load&amp;amp;sid=s1_010_tos" style="&amp;gt;http://portal.ptcuser.org/index.php?module=sthtml&amp;amp;op=load&amp;amp;sid=s1_010_tos&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/body&amp;gt;" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Oct 2017 16:48:52 GMT</pubDate>
    <dc:creator>bfrandsen</dc:creator>
    <dc:date>2017-10-26T16:48:52Z</dc:date>
    <item>
      <title>JLink adding external libraries to classpath</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/JLink-adding-external-libraries-to-classpath/m-p/374767#M4468</link>
      <description>Hi guys,I try to use .jar files within my jlink application.What I did is to add those to the java_app_classpath within the protk.dat file.eg.java_app_classpath  ./apps/Library.jar; ./apps/classesjava_app_classpath  ./apps/Library.jar ./apps/classes but neither did work, as soon as</description>
      <pubDate>Sat, 05 May 2018 07:14:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/JLink-adding-external-libraries-to-classpath/m-p/374767#M4468</guid>
      <dc:creator>diesunddas2</dc:creator>
      <dc:date>2018-05-05T07:14:56Z</dc:date>
    </item>
    <item>
      <title>JLink adding external libraries to classpath</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/JLink-adding-external-libraries-to-classpath/m-p/374768#M4469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Paul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can add jar files by using the config.pro option add_java_class_path. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the option once for each jar library like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;add_java_class_path &amp;lt;full path="&amp;gt;\xxx.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;add_java_class_path &amp;lt;full path="&amp;gt;\yyy.jar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bjarne&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul Benoe &amp;lt;diesunddas2@web.de&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;09-03-2010 21:59&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please respond to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Paul Benoe &amp;lt;diesunddas2@web.de&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Subject&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[proecus] - JLink adding external libraries to classpath&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to use .jar files within my jlink application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I did is to add those to the java_app_classpath within the protk.dat &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;eg.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java_app_classpath ./apps/Library.jar; ./apps/classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java_app_classpath ./apps/Library.jar ./apps/classes &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but neither did work, as soon as I'm calling a class within the .jar a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ClassNotFoundException is thrown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would be really glad if anybody knows how to handle this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Site Links: View post online View mailing list online Send new post &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;via email Manage your subscription Use of this email content is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;governed by the terms of service at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://portal.ptcuser.org/index.php?module=sthtml&amp;amp;op=load&amp;amp;sid=s1_010_tos" style="&amp;gt;http://portal.ptcuser.org/index.php?module=sthtml&amp;amp;op=load&amp;amp;sid=s1_010_tos&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;/body&amp;gt;" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 16:48:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/JLink-adding-external-libraries-to-classpath/m-p/374768#M4469</guid>
      <dc:creator>bfrandsen</dc:creator>
      <dc:date>2017-10-26T16:48:52Z</dc:date>
    </item>
    <item>
      <title>RE: JLink adding external libraries to classpath</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/JLink-adding-external-libraries-to-classpath/m-p/374769#M4470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks, that's good if you have multiple auxiliary applications using the same libraries.&lt;/P&gt;&lt;P&gt;in the meantime I figured a rather strange looking syntax for the protk.dat by dividing two libs with a ".;"&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;java_app_classpath  /apps/lib1.jar.;./apps/lib2.jar &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Regards &lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 12:01:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/JLink-adding-external-libraries-to-classpath/m-p/374769#M4470</guid>
      <dc:creator>diesunddas2</dc:creator>
      <dc:date>2010-03-10T12:01:23Z</dc:date>
    </item>
    <item>
      <title>RE: JLink adding external libraries to classpath</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/JLink-adding-external-libraries-to-classpath/m-p/374770#M4471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Paul&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add the additional jar files at the end or your  java_app_classpath using semi colons in your protk.dat file as shown  below.&lt;/P&gt;&lt;P&gt;java_app_classpath  C:\project\jar\appJar.jar;C:\foldername\lib.jar;C:\folderName\lib2.jar&lt;/P&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; In Reply to Paul Benoe:&lt;/SPAN&gt;&lt;BLOCKQUOTE&gt; &lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to use .jar files within my jlink application.&lt;/P&gt;&lt;P&gt;What I did is to add those to the java_app_classpath within the protk.dat file.&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;java_app_classpath  ./apps/Library.jar; ./apps/classes&lt;/P&gt;&lt;P&gt;java_app_classpath  ./apps/Library.jar ./apps/classes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but neither did work, as soon as I'm calling a class within the .jar a ClassNotFoundException is thrown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be really glad if anybody knows how to handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;BR /&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 17:39:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/JLink-adding-external-libraries-to-classpath/m-p/374770#M4471</guid>
      <dc:creator>jfelkins</dc:creator>
      <dc:date>2010-03-16T17:39:42Z</dc:date>
    </item>
  </channel>
</rss>

