| 
 | 
   <SPAN = style="FONT-FAMILY: 'Courier New'">I'm not sure why I am having
   this troubl= e with the text but here is another try. Thanks for your
   patience.</= SPAN>
   I created a JAR with CRTJVAPGM with Classpath = *ENVVAL</o:= p>
    <= /P>
   I set the jobs environment value of classpath to = /poi?.jar
   (the jar res= ides in the root). Folder POI is in QDLS. Doc inside folder
   is MARC.JAR.</F= ONT>
   <SP= AN style="FONT-FAMILY: 'Courier New'">
   <P= class=MsoNormal style="MARGIN: 0in -45pt 0pt 0in">The rpg code
   looks like:
   <FON= T face="Default Sans Serif, Verdana, Arial, Helvetica,
   sans-serif">0026.0= 0  * // OBJECT  DEFINITIONS
   <P= class=MsoNormal style="MARGIN: 0in -45pt 0pt 0in">0027.00  </SPAN   >* 
WORKBOOK
   0028.00 DWB<= SPAN style="mso-spacerun: yes">          S           = ;   
 O   = CLASS(*JAVA    = ;             <= /SPAN>
   0029.00 D        &= nbsp;           &nbs= p;            &= nbsp;     &nbs   
p;    := 'org.apache.poi.hssf.usermodel-
   0030.00 D    =             &nb= sp;                      .HSSFWorkbook')<o= 
:p>
   .
   .
   <SPAN= style="FONT-FAMILY: 'Courier New'">.
   0062.00  * WOR= KBOOK CONSTRUCTOR    =             &nb= sp;            
   <P= class=MsoNormal style="MARGIN: 0in -45pt 0pt 0in">0063.00
   DCREATEWB&nb= sp;        PR          &= nbsp;   O   </   SPAN>EXTPROC(*JAVA  
  = ;            &n= bsp;  0064.00
   = &n= bsp;           D        &n= bsp;            = ;            &n   
bsp;      = ;            &n= bsp;  :'org.apache.poi.hssf.usermodel-</   
SPAN>
   0065.00 D=             &nb= sp;            =             <= SPAN
   style="mso-spacerun: yes">       =            .H= SSFWorkbook'
   0066.00 D<= SPAN style="mso-spacerun: yes">       =             &nb   sp;    
        =       &nb= sp;            =     :*CONSTRUCTOR)
   0067.00 D    &= nbsp;           &nbs= p;            &= nbsp;
              &= nbsp;      CLASS(*JAVA         &nb= sp;
   = 0068.00 D           &nbs= p;            &= nbsp;           &nbs   p;     
&n= bsp;            = ;:'org.apache.poi.hssf.usermodel-
   0069.00 D  &nb= sp;            =             &nb= sp;
            &nb= sp;        .HSSFWorkbook')<S= PAN style="mso-spacerun:
   yes">
   
   .</FON= T>
   <F= ONT face="Default Sans Serif, Verdana, Arial, Helvetica,
   sans-serif">.<o:= p>
   .
   0156.00<SPAN= style="mso-spacerun: yes">  /FREE           &n= bsp;
   0157.00<SPA= N style="mso-spacerun: yes">        </= SPAN>COUNT =
   0;    
   <= FONT face="Default Sans Serif, Verdana, Arial, Helvetica,
   sans-serif">015= 8.00      &= nbsp;               <= /FONT>
   <= SPAN style="FONT-FAMILY: 'Courier New'">0159.00       // Create a
   Workbook.
   0160.00       WB = CREATEWB()= ;     </o= :p>
    
   on the call to the Constructor the java.lang.NoClassDefFound error
   appears.<o= :p>
    <= /SPAN>
   Any Ideas?
   Thanks,
    <= /P>
   Marc Antzis
   </F= ONT>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.