Hi, Probably a very dumb question however - does anybody know what effort it takes to port a JVM to an embedded Linux on a Freescale ColdFire Processor ? Thanks, John
JVM
Started by ●January 3, 2008
Reply by ●January 3, 20082008-01-03
On Jan 3, 3:55=A0am, "John Aderseen" <J...@Aderseen.com> wrote:> Probably a very dumb question however - does anybody know what effort it > takes to port a JVM to an embedded Linux on a Freescale ColdFire Processor=? I don't know that I am answering the question you think you're asking, but porting a JVM if you have a POSIX build environment is simply a matter of compiling it. It's just a bytecode interpreter with more or less no system dependencies. A potentially much more involved project is to build the JRE, which is required for any nontrivial Java implementation. It depends rather on how much functionality you're going to require.
Reply by ●January 4, 20082008-01-04
It's what I had in mind but as I am rather novice in JVM and JRE I prefer asking basic questions (even if they seem dumb to experts like you may be - sorry about that). So thank you for the answer ! John "larwe" <zwsdotcom@gmail.com> a �crit dans le message de news: 44a98ac3-81a1-4748-8cc5-e95492d460cc@e23g2000prf.googlegroups.com... On Jan 3, 3:55 am, "John Aderseen" <J...@Aderseen.com> wrote:> Probably a very dumb question however - does anybody know what effort it > takes to port a JVM to an embedded Linux on a Freescale ColdFire Processor > ?I don't know that I am answering the question you think you're asking, but porting a JVM if you have a POSIX build environment is simply a matter of compiling it. It's just a bytecode interpreter with more or less no system dependencies. A potentially much more involved project is to build the JRE, which is required for any nontrivial Java implementation. It depends rather on how much functionality you're going to require.
Reply by ●January 4, 20082008-01-04
On Jan 3, 3:55=A0am, "John Aderseen" <J...@Aderseen.com> wrote:> Probably a very dumb question however - does anybody know what effort it > takes to port a JVM to an embedded Linux on a Freescale ColdFire Processor=? There is a portable JVM for small devices, whose name escapes me at the moment, but it likely doesn't have any specific knowledge of the Coldfire, such as native methods to access the various on-chip peripherals. I can get the name of this if you really want to write the native methods yourself. I have experimented with NanoVM, and that works good on small MCU's that don't have much memory. But that also requires native methods to be written. Just for clarification, do you want one that runs under linux on a Coldfire (I guess there is a flavor of linux that can run on Coldfire?), or one that runs standalone? Eric
Reply by ●January 5, 20082008-01-05
Un bel giorno Eric digit�:>> Probably a very dumb question however - does anybody know what effort it >> takes to port a JVM to an embedded Linux on a Freescale ColdFire Processor ? > > There is a portable JVM for small devices, whose name escapes me at > the momentProbably the KVM: http://java.sun.com/javame/index.jsp CLDC/KVM sources are only free for personal/academic use, they aren't GPL as far as I know. Adapting them for a platform that supports Linux (and consequently the gcc toolchain) is fairly easy. -- emboliaschizoide.splinder.com