Java code in Arduino

Hi guys I was just wondering if its possible to write code in Java on the Arduino IDE without any problems?

Or is it not possible?

Cheers

You can write it, I don't think it will compile (verify) tho - the IDE is expecting C++ code.

Okay thank you for the information.

I keep reading up about something called JArduino?

what is that?

is there no possible way of importing a compiler for Java? seems pointless allowing me to write in Java but not being able to somehow compile the code

regards

This is not LLVM which checks each line for syntax when you type it in. The Sketch entry window is simply a text editor, you can write whatever you want. The fireworks happen when you try to compile. 8^)

Sedgell95:
I keep reading up about something called JArduino?

what is that?

JArduino/wiki

If you know Java, the [u]Arduino C/C++[/u] language should be super-easy to learn.

Plus, it's always easier to learn your 2nd computer language when you already know about instructions, variables, functions, loops, branching, etc.