element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Java for embedded projects
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 3 replies
  • Subscribers 481 subscribers
  • Views 404 views
  • Users 0 members are here
  • c
  • embedded
  • development
  • mcu
  • java
Related

Java for embedded projects

awinning
awinning over 15 years ago

A work colleague has asked me about the viability of using Java in electronics projects. I had a quick google and found a couple of decent links for JVMs for PIC/AVR etc. I was just wondering if there was any drawbacks, like compiled code size, less granular control etc.

 

Also is it better to use a hardware accelerator? I'd guess it would depend on the project?

 

Has anyone any experience or tips for an IT guy wanting to try his hand at electronics?

  • Sign in to reply
  • Cancel
  • romilly
    romilly over 15 years ago

    Hi Ally,

     

    It's quite a while (two years?) since I looked into this area, but then the 8-bit implementations were very, very limited and not very robust. If Java is a must, it might be worth looking at one of the implementations of Java in Silicon. Systronix  specialise in this area.

     

    On the other hand, If he knows Java, he can probably pick up enough C/C++ to program an arduino/clone or mbed very quickly - with plenty of good sample code available to steal  reuse.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jorge_Garcia
    Jorge_Garcia over 15 years ago

    Hi Allistair,

     

    If I recall correctly parallax makes a Java based version of the venerable basic stamp microcontroller called the Javelin Stamp. I have included the link in case he want to check it out.

     

    http://www.parallax.com/Store/Microcontrollers/JavelinStamp/tabid/517/ProductID/5/List/1/Default.aspx?SortField=ProductName,ProductName

     

    This controller would allow him to use his Java skills without to much hassle. I agree though that if your friend is proficient in Java is won't be a very big to jump to program in C/C++.

     

    hth,

     

    Jorge Garcia

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 15 years ago

    Hi Ally,

     

    I second that. Small devices supporting  Java are best done by hardware supporting java - a small software jvm on  a pic or avr µController won't work that great and/or is very limited.  The fun begins when using more powerful devices based on ARM or POWER.  The OpenJDK/IcedTea guys have done a great job porting their JIT to  these plattforms, giving you a free and unlimited software JVM that works great.

     

    Best regards

     

    Georg Schild

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube