Ok,

 

Thanks got that working, but when I call it.

 

<cfset me = CreateObject("java", " MyTrial ") />

<cfdump var="#me#" />

 

I get from the dump

 

object [unknown type]

 

[undefined value]

 

I was expecting to see the methods.

 

Regards

Dale Fraser

 

 

> -----Original Message-----

> From: [email protected] [mailto:[EMAIL PROTECTED] On

> Behalf Of Lindsay Evans

> Sent: Monday, 20 March 2006 12:58 PM

> To: [email protected]

> Subject: [cfaussie] Re: Call Java Class

>

> Hi Dale,

>

> I wouldn't recommend using it without a fair bit of testing, but you could

> try this:

> http://www.spike.org.uk/blog/index.cfm?do=blog.day&day=3&month=6&year=2004

>

>

> On 3/20/06, Dale Fraser <[EMAIL PROTECTED]> wrote:

>

>

>     Hi,

>

>     Have a java routine.

>

>     MyTrial.java

>     MyTrial.class

>

>     <cfset me = CreateObject("java", "MyTrial") />

>

>     I want to call it, but it can't find it. I assume I need to put it

> in my

>     class path, but i really just want to call it from the current

> directory.

>

>     Is this possible, what should I do.

>

>     Regards

>     Dale Fraser

>

>

>

> --

> Lindsay Evans

> http://lindsayevans.com/ <http://lindsayevans.com/>

>

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to