Re: How to Use Bouncy Castle on the CLDC KVM in Linux
"Padilla, Alex D" <[email protected]>
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <B4106C82DFD51449B94258FB2FA9343903915F66@ES23SNLNT.srn.sandia.gov> |
Again, thank you everyone for your help. Does anyone know anything about ROMizing? I have finally preverified all my programs and their corresponding classes, but now I would like to simply load the programs as standalone apps on the KVM. In other words, I would like to execute the programs without having to include all Bouncy Castle libraries in my classpath every time. Would it be possible to use ROMizing to accomplish this on my custom built board with a NIOSII processor? Thank you. ________________________________ From: A mailing list for KVM discussion [mailto:[email protected]] On Behalf Of Robin Chaddock Sent: Friday, July 20, 2007 3:39 AM To: [email protected] Subject: Re: How to Use Bouncy Castle on the CLDC KVM in Linux Just add whatever extra library classes your code has been compiled against to the classpath when you execute the preverifier... Also, I suggest you automate your build process using Ant (with the Antenna extension for midp development); it'll make thing a lot simpler. ----- Original Message ----- From: Charles-Edouard Ruault <mailto:[email protected]> To: [email protected] Sent: Friday, July 20, 2007 9:41 AM Subject: Re: How to Use Bouncy Castle on the CLDC KVM in Linux Padilla, Alex D wrote: Is there any way to modify the classes.zip file on the KVM to allow it to support otherwise unsupported classes? When I preverify using classes that are not inherent to the KVM infrastructure (but are supported on a JVM) I obviously get an error. I basically need to include the java.security library and a crypto provider library like Bouncy Castle. Many seem to have suggestions on what to do if I was using a development environment like NetBeans. However, I need to find a solution that is development environment free to save memory space. This means I develop the code in a text editor and compile on a Linux machine with javac. It also means I have to preverify manually on the Linux machine pointing to a zip file containing the necessary supported java libraries. Any help would be greatly appreciated. It looks like you're trying to do something different than building a j2me application including some bouncycastle classes. Are you trying to modify the kvm itself to add support for crypto to running midlets ? If so, I would say that you should be able to included the classes (source files) and compile them together with the other classes of the KVM. However I've never done that, and therefore will not be able to help you any further.... -----Original Message----- From: A mailing list for KVM discussion ======================================================================== === To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help". ======================================================================== === To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".