Re: setting up Java in CF5

2005-05-20 Thread Simon Cornelius P . Umacob
Joshua, I also encountered this problem when I tried to execute a Java-based "Hello world!" in my CF app for the very first time (which was about 3 days ago). I solved it by configuring CFIDE so that it would point to the directory where my *.jar file resided. In CFIDE, simply navigate to Ser

Re: setting up Java in CF5

2005-05-19 Thread Joe Eugene
You should be able to just drop the *.jar file in WEB-INF/lib and use createObject(). Joe Eugene - Original Message - From: "Joshua OConnor-Rose" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Thursday, May 19, 2005 12:38 PM Subject: Re: setting up Java in CF5 >

Re: setting up Java in CF5

2005-05-19 Thread Joshua OConnor-Rose
I suppose I should describe where I am now. The gnu-crypto.jar is in the folder listed in the java settings class path. I'm using create object on the page: // Create DES/ColdFusion Java objects desObj = CreateObject( "java", "com.gnu.crypto.cipher.TripleDES" ); and this is the error. Unhandle

Re: setting up Java in CF5

2005-05-19 Thread Thomas Chiverton
On Thursday 19 May 2005 17:14, Simon Cornelius P. Umacob wrote: > DES3.init(); :nods ..init() on a Java object runs the constructor, so you must do that (and give any options it needs, javaCast() may be your friend). -- Tom Chiverton Advanced ColdFusion Programmer ~~~

setting up Java in CF5

2005-05-19 Thread Simon Cornelius P . Umacob
Joshua, You might want to try looking up the CreateObject() function in the CF docu. I haven't used CF5 though (nor am I very knowledgeable in invoking external Java apps), but I think initializing the library in version 5 looks something like this: DES3 = CreateObject("java", "gnu.crypto.cip

setting up Java in CF5

2005-05-19 Thread Joshua OConnor-Rose
I'm trying to set up CF5 to do DESEDE encryption and I'm not having much luck. So I find a java library that may do the trick but I haven't set up java objects in Cold fusion 5 before. Has anybody ever set up gnu-crypto java librarys on CF5 or anything other library. If I put the gnu-crypto.jar