Also ensure that "com.compassweb.util.RemoteKeyStoreClient" is the correct package for the object. You can verify this simply by previewing the JAR with an unzip utility (or unzipping it completely and seeing what the directory structure is).
What's the full path of the directory where you copied the JAR file? Steve Brownlee http://www.fusioncube.net/ > -----Original Message----- > From: Rusty Owens [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 20, 2007 10:39 AM > To: CF-Talk > Subject: SEMI OT: java class path question > > I am having a problem working on something. I have been given a Java > object to reference. I have placed the jar file in the cfusionMX7\lib > directory. I placed it there because I don't know enough about Java > to know where to place it and that is where the other jar files. The > code to reference the java object is below. > > > <cfobject action="create" type="java" > class="com.compassweb.util.RemoteKeyStoreClient" name="youNameIt"> > <cfset remoteKey=youNameIt.getEncryptionKey("test1")> > > <!--- encrypt and decrypt using the remote key ---> > <cfobject action="create" type="java" > class="com.compassweb.util.Encrypter" name="youNameIt2"> > <cfset encryptedData=youNameIt2.encrpt("your data", remoteKey)> > <cfset decryptedData=youNameIt2.decrpt(encryptedData, remoteKey)> > <cfoutput>#decryptedData#</cfoutput> > > > I am getting the error below. Any ideas on what I am doing wrong? > > Object Instantiation Exception. > Class not found: com.compassweb.util.RemoteKeyStoreClient ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 by AdobeĀ® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273134 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

