Recently I have upgraded from CFMX 7.0 to CF 9.0 using the free developer edition.
Everything worked fine except accessing the java classes. Following is my code and CF Admin setting and have all the related .jar files in my folder.
Java Virtual Machine Path : C:/ColdFusion9/runtime/jre
ColdFusion Class Path : E:\Website\Report_lib
Error Message from the code : , Variable myRpt is undefined.
Am I missing anything here or did anything change in CF 9.0 related to cfobject tag or registering the class?
Thanks in advance.
<cfobject action=create type=java class="ReportList" name=MyReportView>
myRpt = MyReportView.getBillingViewReport(sItemNumber);
<cfcatch type = "any">
<cfset pErrorDetail = CFCATCH.Detail>
<cfset pErrorMessage = CFCATCH.Message>
<cfoutput>#pErrorDetail# , #pErrorMessage#</cfoutput>