Is it possible to set up a project for Raspberry pi in Netbeans on Linux? If ME SDK 8 is only available for windows, are Linux users forced to use windows? I've tried using Remote Deploy in Netbeans 8 but it complains "No Java ME Platform found" I don't need emulator, I just want to write/compile code and upload to Raspebrry from Linux desktop.

Has anyone seen any tutorials how to deploy application for Raspberry from Linux desktop?


  • Your pi is a full computer, and anything you can run on your linux desktop you can probably run on the pi. Why do you want to use Java ME? You do have access to Java SE.
    – Bex
    Commented May 21, 2014 at 9:43

1 Answer 1


If you are using Maven (or Ant) you could add a goal to the deployment phase to copy a file via SCP to your Raspberry Pi. This is described in an example here. Run mvn package to compile your project and copy the output to your Pi in one command. There sould also be a Maven Plugin to use it from inside of Netbeans.

Add something like this to your pom.xml:

            <echo message="Push to server/home/"/>
            <scp trust="yes"
                <fileset dir="${basedir}/target">
                    <include name="**/*.jar"/>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.