I want to do some socket programming using the kvm from the sun CLDC1.1 reference implementation. I was reading in the kvm porting guide that KVM 1.1 implementation does not include network protocol implementations and if you want to use them you have to include additional libraries such as those available in the MIDP but to do this, porting of the kvm is necessary. But I cant seem to find any instructions in the porting guide or on the web about how exactly i should do this. I know you have to include the source files from the additional libraries in the j2me_cldc/api/src folder and recomplie the kvm. But this is not working for me. Can anyone give any tips on how I can do this? Anyone know of a good tutorial that covers porting the KVM?
To port your kvm you should read the KNI specification 1.0 which comes with the Java 2 Platform, Micro Edition Connected Limited Device Configuration Version 1.1 Reference Implementation here in chapter 7 you'll find how call native functions (example call a helloworld in c )
This should help and good luck for compiling the kvm (if you do this under windows this could help (page1 ; page2)
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com