I dropped the files in WEB-INF/lib and restarted.
Since I don't really know where to start, I went to the manual which says 
to use for example <cfscript language="java">, which throws an error: 
"SCRIPT: Cannot find the system Java compiler. Check that your class path 
includes tools.jar"

I'm using OpenBD Desktop.

Do I need to get this tools.jar to use Java, or am I just missing how to.. 
load? it.
Yep, that's how green I am with Java, never touched the stuff before, and 
I'd prefer to do this myself rather than use a wrapper.

On Monday, July 30, 2012 8:34:30 PM UTC-5, Matt Woodward wrote:
>
> Short answer is drop the jar(s) into WEB-INF/lib, restart, and then study 
> the javadocs for the Java libraries and you should be in good shape. 
> CreateObject("java", "foo").init() to instantiate the java object you need 
> and you're off to the races.
>
> If you've never done any Java before you may need a little help with some 
> of the details but it's pretty easy to get going.
> On Jul 30, 2012 6:26 PM, "MarcusF" <[email protected]> wrote:
>
>> I'm looking at including a java package in a CFML application I'm working 
>> on, it's to create barcodes on the fly for DB records, this won't happen 
>> too often and speed isn't really an issue, but I don't want to rely on 
>> external webservices, and I found 
>> http://barcode4j.sourceforge.net/krysalis-barcode.html so I figured I'll 
>> try implementing it.
>>
>> I've never worked with Java before, any pointers, links to guides or 
>> tutorials for working with Java from CFML?
>>
>> -- 
>> online documentation: http://openbd.org/manual/
>> http://groups.google.com/group/openbd?hl=en
>>
>

-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

Reply via email to