Plucka
asked on
Calling Java Class
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.
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.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
https://www.experts-exchange.com/questions/20074457/Calling-Java-Class-in-ColdFusion.html