Using facebook4j and to post a link you must create and supply a URL object. However when I try to do so I get a class not found error. Appears CF10 is running on JRE 7.0.15
For example this throws an error
<cfset testurl = createObject("java", "java.lang.URL").init("http://www.google.com") />
but this doesn't for a string object
<cfset testurl = createObject("java", "java.lang.String").init("http://www.google.com") />
Any suggestions would be appreciated.
Right after posting of course I find some old documentation mentioning the class name is java.net.URL