× 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.



Hi Everyone,

I have an RPGLE program in which I'm trying to clone a cell style from a template workbook to another workbook. When it tries to do the cloneStyleFrom method of the HSSFCellStyle class, it says it's not found. So I tried

qsh cmd('javap -s org.apache.poi.hssf.usermodel.HSSFCellStyle')

and it says

ERROR:Could not find org.apache.poi.hssf.usermodel.HSSFCellStyle

My CLASSPATH is

Display Environment Var (*JOB)

Name . . . . . . . . . : CLASSPATH

Value . . . . . . . . . : '/java/poi3.7/poi-3.7-20101029.jar:/java/poi3.7/poi
-scratchpad-3.7-20101029.jar'

Using WRKLNK's browse option I see:

Browse : /java/poi3.7/poi-3.7-20101029.jar?
Record : 36 of 8425 by 18 Column : 1 67 by 131
Control :

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+.
?????p?¨=????????????&???org/apache/poi/hssf/record/pivottable/PK??
?????p?¨=????????????????org/apache/poi/hssf/usermodel/PK?? <====HERE IT IS!
?????p?¨=????????????????org/apache/poi/hssf/util/PK??
?????p?¨=????????????????org/apache/poi/poifs/PK??

And using a java decompiler, I see that /java/poi3.7/poi-3.7-20101029.jar contains

org.apache.poi.hssf.usermodel.HSSFCellStyle

What am I doing wrong? Is it something in my CLASSPATH?

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /


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.