Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2SE OS for iPaq

 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Today at JavaOne I saw a cool product from Savaje, the put J2SE (version 1.3) on the iPaq. The wiped out the OS and wrote their own Java OS, based on 1.3. It has full 1.3 support. The best part is, your Java applications are now first class applications, and not merely subapplications of the JVM.
I suspect we'll be seeing more of this type of Java OS in the future. (RIM has been promisng this for months on their pagers, but have yet to deliver.)

--Mark
 
amit shukla
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marc,
How you can write an OS using java .. like java applications run over JVM ... now JVM itself requires an OS to run ... so while ur system is booting up how it will run the JVM to run the java program...
Amit
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by amit shukla:
now JVM itself requires an OS to run ...

That's a mistaken assumption. A JVM does not require an OS to run. JVMs can run on various hardware and low level chipsets.
--Mark
 
amit shukla
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi marc,
Could you please elaborate this a bit, is that to write an OS in java you write a JVM basically that directly talks to hardware.. does java provides that API or JNI is used for that...
thanx
Amit
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that's exactly it.
There is no Java API for this because, the Java APIs run using the JVM, so making a JVM using an API it interprets still requires some boot strapping. JNI can't be used because JNI is used to call outside the JVM.
Basically you write it using C/C++ just as you would any other JVM. But whereas for windows I would compile my C code into MFC classes, here I would compile my C code for the embedded system.

--Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic