java - Apache POI version in ColdFusion 10 -


Is Apache POI a Way to Use the Version of ColdFusion 10? I have a look in Lib Directory but the name of the POI JAR file is not in any version number.

If this is not the latest version, how do I use the latest version in my code? I know that I can use this.JavaSettings to load a jar with custom code.

I have downloaded the latest version of PoI and there are several JR files: 6 at the top level directory, 4 in sub-directory and 3 in ooxml-lib directory. Do I have to give all these jars to this Need to be referenced within Java settings?

Once I have referenced the correct JARs in this.JavaSettings , then use the library in my code? I have used the code with the code like CODE of cold fusion as the following:

  createObject ('java', 'org.apache.poi.ss.usermodel.WorkbookFactory'). Create (Infel);   

How do I change this code to use the latest version of POI that I have referenced in this.JavaSettings ?

Still getting my head around all of these Java stuff! Thank you.

Here are the steps to know the version of any jar

  1. A jar is just an archive file, either extract a jar file in a directory (or use a tool like 7-zip to view individual content without removing individual files).
  2. You will see a folder called Meta-INF
  3. Manifest inside the META-INF. M.F. is a file named
  4. Open the MANIFEST.MF file that contains the information of version, vendor details etc.

    Hope it helps

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -