Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Porting Java runtime (JRE/JDK) to PlayBook

Python runtime is natively included in PB, so why not Java ? OpenJDK source is here http://download.java.net/openjdk/jdk6/. Possible ?

Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-, Z10 (STL100-3)-, Z30 (STA100-5)-, Passport (SQW100-1)-, PlayBook (16GB)-
My Carrier: Verizon

Re: Porting Java runtime (JRE/JDK) to PlayBook

I took a crack at it when the NDK first came out and promptly got confused. Part of it is I never use makefiles, I always do managed builds and usually try to keep it that way. It seemed like it was possible but getting the runtime compiled is one thing, getting the VM is another. The normal VM is a mess of ASM which is x86/x64 and obviously won't work on ARM. IcedTea is a better way to go, but that two was a bunch of makefiles so I promptly skipped over it. I have some time so maybe I'll give it a go (though not tonight).
---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.