3gws wrote:Thanks for that I have installed it and it is very slow to load or do anything with it.
I have nothing else running so it has all of the ram it requires to run.
I appreciate we are ruuning it on a 700mhz Single core processor so my next question is can I use a cross compiler for the R-Pi on a windows PC in the same fashion as Android, is there Raspberry Development Tool like ADT?.
Having an extreamly fast laptop with loads of everything has spoiled me, so waiting 10 mins approx for the IDE to load is going to be its downfnall for me.
I do all my Java development in Eclipse on a laptop or other computer and then just transfer (SCP) the compiled/packaged JAR down to the Raspberry Pi when I want to run/test it. Since you are using Java, there is no cross-compiler needed. Write once - run anywhere ... and all that ..
If you are interested, check out this open source project: Pi4J.
In this project, I am using Maven to automate the build, package the JAR and then copy the resulting JAR over to the Pi via SCP. It is very fast and once it is copied over, I can just switch to my Putty SSH console and execute the Java program for testing. See the POM.XML files for details on the Maven script.
If you start creating native code for JNI, then you would have to cross compile or compile those parts on the Pi itself. The pi4j-native sub-project is just that and the Maven script is copying all the native C sources to the Pi and carrying out the compilation on the Pi hardware. Eventually I'll switch to a cross-compiler, but this was easy to setup and get started.