Thursday, September 10, 2015

Remote run Java on Raspberry Pi, host from NetBeans on Windows 10

This video show how to develop Java application with NetBeans IDE 8.0.2 running on Windows 10, create Remote Java SE platform, remote run/debug on Raspberry Pi/Raspbian Wheezy .

The following java code list system by calling System.getProperties().
package javaapplication14;

import java.util.Enumeration;
import java.util.Properties;

public class JavaApplication14 {

    public static void main(String[] args) {

        System.out.println("\nSystem Properties\n");
        Properties properties = System.getProperties();

        Enumeration<String> prop
                = (Enumeration<String>) properties.propertyNames();

        while (prop.hasMoreElements()) {
            String propName = prop.nextElement();
                    propName + " : "
                    + System.getProperty(propName));


How it run on Windows 10/Intel i5 vs Raspbian/Raspberry Pi 2.

Updated@2015-10-04: Appliable on Raspbian Jessie.

No comments: