× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



   <SPAN = style="FONT-SIZE: 14pt">Sorry for the previous e-mail...the
   formatting wa= s obviously alien to all!

   <= FONT face="Default Serif, Times New Roman, Times, serif" size=2> <   
/FONT>

   Once again, here is the issue for the classpath problem:

   <SPAN = style="FONT-SIZE: 14pt"></FO= NT>

   I created a JAR with CRTJVAPGM with= Classpath = *ENVVAL

   <o:= p>&nbs= p;

   I set the jobs environment value of= classpath to /poi?.jar

   = = (the jar resides in the root). The folder is QDLS, folder name=POI,
   insid= e that MARC.JAR.

   <o:= p>&nbs= p;

   The rpg code looks like:
   0026.00<SPAN style="mso-spacerun: = yes">  * // OBJECT  </SP   AN>DEFINITIONS

   0027.00<SP= AN style="mso-spacerun: yes">  * WORKBOOK</= FONT>

   <S= PAN style="FONT-SIZE: 14pt">0028.00 DWB=             &nb= sp;
   S   &nbsp= ;           O<SPAN= style="mso-spacerun: yes">
   CLASS(*JAVA         &n= bsp;       </= SPAN>

   0029.00 D &nb= sp;            =             &nb= sp;
           :'org.apache.poi.hssf.usermodel-

   0030.00 D          &= nbsp;           &nbs= p;            &= nbsp;
       &nbs= p;  .HSSFWorkbook')

   <P = class=MsoNormal style="MARGIN: 0in -45pt 0pt 0in; TEXT-ALIGN:
   center" a= lign=center>.</S= PAN>

   <FO= NT face="Default Serif, Times New Roman, Times, serif">.</FONT= >

   .<= /o:p>

   0062.00  * WORKBOOK CONSTRUCTOR<SPAN style="mso-spacerun:    yes">           
&nbs= p;            &= nbsp;           <o= :p>

   0063.00 DCREATEWB         = PR     &n= bsp;        O
   EXTPROC(*JAVA           &nb= sp;       0064.00 D                         
&nb= sp;            =       &nb= sp;                
:'org.apache.poi.hssf.usermodel-</SPA= N>

   0065.00 D &nbsp= ;            &n= bsp;           &nbsp= ;
           &nbs= p;         .HSSFWorkboo= k'

   0066.00 D        &nbs= p;            &= nbsp;           &nbs= p;      &   
nbsp;           &nbs= p;  :*CONSTRUCTOR) 
   <FONT= size=2>0067.= 00 D      &= nbsp;           &nbs= p;            &   
nbsp;     &nbs= p;            &= nbsp;    CLASS(*JAVA           &nb= sp;

   0068.00 D<= SPAN style="mso-spacerun: yes">             &nb   sp;            
=            <S= PAN style="mso-spacerun: yes">       &   nbsp;          :'o= 
rg.apache.poi.hssf.usermodel-

   <SPAN style="FONT-SIZE: = 14pt">0069.00 D    &n= bsp;           &nbsp   ;    
        &n= bsp;                  &n= bsp;      .HSSFWorkbook')

   <P= class=MsoNormal style="MARGIN: 0in -45pt 0pt 0in; TEXT-ALIGN:
   center" = align=center>.</= SPAN>

   <F= ONT face="Default Serif, Times New Roman, Times, serif">.</FON= T>

   <FONT = size=2>.
   0156.00  /FREE &nbsp= ;           <= /o:p>

   0157.00        COUNT = 0;<SP= AN style="mso-spacerun: yes">       
   0158.00         &nbsp= ;      &n= bsp;     </= P>

   0159.00   =     // Create a Workbook.</S= PAN>

   0160.00  =      WB = CREATEWB();     </= P>



   <= FONT face="Default Serif, Times New Roman, Times, serif">on the call
   to t= he Constructor the java.lang.NoCl= assDefFound error appears.

   <SPAN style="FONT-SIZE: = 14pt">

   Any Ideas?



   Thanks,<= /SPAN>

   </SP= AN>

   <SPAN= style="FONT-SIZE: 14pt">Marc Ant= zis

   

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.