Arduino Forum

Using Arduino => Programming Questions => Topic started by: persson121 on Jul 29, 2013, 06:16 pm

Title: Can i use java insted of C ?
Post by: persson121 on Jul 29, 2013, 06:16 pm
Hi!

Can i write java code in eclipse and send it to my arduino? Will it work or can arduino only read c and c++ code? I KNOW that the uC do not read code as we do, the uC read binary code.
Title: Re: Can i use java insted of C ?
Post by: AWOL on Jul 29, 2013, 06:17 pm
No, you cannot use Java.

Didn't you like the answer last time you asked?
http://forum.arduino.cc/index.php?topic=125245.msg941494#msg941494
Title: Re: Can i use java insted of C ?
Post by: persson121 on Jul 29, 2013, 06:39 pm
But i have Heard that some did use java for arduino. So C or C++ is the only choise?

Title: Re: Can i use java insted of C ?
Post by: Arrch on Jul 29, 2013, 06:40 pm

But i have Heard that some did use java for arduino.

You heard wrong.

Quote
So C or C++ is the only choise?


Yes.
Title: Re: Can i use java insted of C ?
Post by: KeithRB on Jul 29, 2013, 06:43 pm
What you might have heard is that the IDE is written in Java. The toolchain uses C++, with some funky pre-processing.
Title: Re: Can i use java insted of C ?
Post by: persson121 on Jul 29, 2013, 06:50 pm
The toolchain is C too.