This is how I am trying to create the object.
<cfset objEmp = createObject("java","Employee") />
<cfdump var="#objEmp#">
This is when it throws the exception.
> Hello everybody,
>
> I have used the Employee.java example on the adobe livedocs
> (http://livedocs.adobe.com/coldfusion/8/htmldocs/help.
> html?content=Java_7.html). Pleae Scroll down to the section titled
> "Creating and using a simple Java class". I am running ColdFusion 7
> server installation, developer version running on windows xp
> professional.
> Server Product ColdFusion MX
> Version 7,0,2,142559
> Edition Developer
>
> I complied the file Employee.java, and place the resulting Employee.
> class file in a directory in the
> "C:\CFusionMX7\wwwroot\WEB-INF\classes" folder. Is this right? The
> article on livedocs states that "Save the following Java source code
> in the file Employee.java, compile it, and place the resulting
> Employee.class file in a directory that is specified in the classpath".
> How can I see the classpath? Is this the CLASSPATH environment
> variable or the CF Classpath?
>
> Any help would be most appreciated.
>
> Regards
> John
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317980
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4