You might be able to place a .jar file in webroot and get it to work, but I don't think it's a good idea.
The .jar files should all go into a specific folder, and a path to the class added in CFAdmin, then the service restarted. That should make the .jar available to CF. Then your CF code should work.
Thanks for your reply.
I have taken your advice.
The result is the same.
The CF code is working I assume because I am not getting any errors.
The issue is that I'm not getting any output from my call.
I feel the issue is in my code conversion - java to coldfusion. (specifically the pubnub.herenow method call)
If you're not seeing any error messages, but it's not being set (have you tried a CFDUMP of the object, itself?), then check the logs in CFAdmin.. one of them should have some indication of what is going on.
I'm not familiar with pubnub, nor do I use third-party Java classes, so I'm not much help in this area. And I hate to sound condescending, but even after 15 years, I still make some rookie mistakes, so I must ask. Did you restart the CF service after placing the .jar file in the proper folder and adding the path to the JVM class in CFAdmin?
Yes, I completed the restart of the CF service.