Duplicate
Details
Assignee
Michael OffnerMichael OffnerReporter
Mark DrewMark DrewPriority
MinorNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Mark Drew
Mark DrewPriority
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 31 August 2017 at 13:49
Updated 19 September 2018 at 16:02
Resolved 19 September 2018 at 16:02
As mentioned in LDEV-315, Lucee 5 cannot use the third argument in the CreateObject() as a path to load a java class (for example Test.class). for example:
createObject("java","Test",expandPath("./"));
This works in Lucee 4 by the way and in the internal documentation the function SHOULD be able to do this!
Lucee 4.5.5+006 :
java: classpath used to load the defined class, this can be a list of multiple paths (directories containing class files or jar files)
Lucee 5.2.2+71 :
java: "classpath" or "bundleName" used to load the defined class, this can be a list of multiple paths (directories containing class files or jar files) as string list or array or a name of an OSGi bundle (Lucee can download OSGi bundles automatically if necessary)