Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

Using Java UFL with Crystal Reports Designer 2008

$
0
0

I am trying to use a Java UFL in Crystal Reports Designer 2008 and used the following guide:

 

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09feb84-8b1e-2b10-7b8c-8bf2f5e703d9

 

However, I never see the "MyLibrary" UFL in "Additional Functions".

 

I took the following steps:

 

1. Created the UFL using eclipse and entered in the .classpath file the location of CrystalFormulas.jar and CrystalReportingCommon.jar; NOTE I placed all the files under root thus there are no packages.

 

2. Exported all my files as a jar file named "MyLibrary"

 

3. Took the "MyLibrary.jar" and placed it in "C:Program FilesBusiness ObjectsCommon4.0javalib"

 

4. Went to my "Environment Variables" and added the following files in the CLASSPATH under the "System variables"

 

pathCrystalFormulas.jar

pathCrystalReportingCommon.jar

pathu211java.jar

pathlog4j.jar

pathicu4j.jar

 

5. Ensured that the "JAVA_HOME" in the "System Variable" was pointing to "C:Program FilesJavajdk1.6.0_07"

 

6. Opened the "regedit" and went to HKEY_LOCAL_MACHINESOFTWAREBusiness ObjectsSuite 12Crystal Reports then created a sub key New>String Value and name it JREPath. Then I entered the value pathjvm.dll

 

7.Opened my CRConfig.xml file and entered in the "ExternalFunctionLibraryClassnNames"; "MyLibrary"

 

8. I included all the paths of the above jar files in the Classpath of the "CRConfig.xml" file

 

9. I checked that the u211java.dll was in "C:Program FilesBusiness ObjectsBusinessObjects Enterprise 12.0win32_x86" path.

 

10 I restarted my computer.

 

I have also checked other forums for the solution and I have unable to make my UFL work.

 

Any suggestions?

 

Thanks for your help.

 

Valentine


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>