So I am looking at learning Java, and I already have an Arduino board, so how reliable would it be to learn Java using Arduino, how reliable is the module in the IDE over say C/C++
Thanks!
So I am looking at learning Java, and I already have an Arduino board, so how reliable would it be to learn Java using Arduino, how reliable is the module in the IDE over say C/C++
Thanks!
Java is not usually available on an Arduino except for the Arduino Due. For all other Arduinos, C or C++ is recommended.
What Arduino do you have?
What version of the IDE do you have?
If you are just learning Java, it may be easier to put aside the Arduino and just learn on a PC or a Mac.
Reliability is based on the person writing the code. I'm not
sure there are any problems of reliability with any of the standard
compilers that are available.
As a general rule, open source compilers tend to have less bugs
than commercial one, as has been indicated from surveys.
It is said the bugs are generally fixed sooner in open source because
it doesn't require the typical red tape needed in a corporate structure.
In a corporate structure, the bug must be verified, severity determined,
cost out, assigned to someone that has a schedule of other projects that
must be finished and then finally verified to a release. This can take
anywhere from 3 months to 2 year based of the assumed severity of the bug.
Dwight
The normal way to program an Arduino is with C/C++. AFAIK it is the only option on the Uno, Mega etc.
If the end result is not reliable it will be the fault of the programmer, not the infrastructure.
The JVM has lots of good points but it is a system for a fast PC with lots of memory and disk space.
...R
vaj4088:
Java is not usually available on an Arduino except for the Arduino Due. For all other Arduinos, C or C++ is recommended.What Arduino do you have?
What version of the IDE do you have?If you are just learning Java, it may be easier to put aside the Arduino and just learn on a PC or a Mac.
The basic one, the Uno
A version of the JVM (Java Virtual Machine) also runs fine on the Linux side of the Arduino Yun; the only drawback is that the JVM has to run with the (outdated) GNU core classes (named 'classpath' for Pete's sake). afaik there are no other Arduinos that can run Java.
kind regards,
Jos