Saturday, August 29, 2015

JavaFX on Mobile

When JavaFX Script was released, the mobile component was an important part. It was also one of the reasons many people and analysts believed in JavaFX as a real cross-platform client-side framework. For a number of reasons, JavaFX on mobile disappeared from the official Java roadmap. Fortunately, the OpenJFX team at Oracle made all the required sources available, and the JavaFXPorts initiative worked on providing JavaFX SDK's for the mobile platforms. In this session, it will show the current state of JavaFX on Mobile. This video will show how to create a real cross-platform JavaFX Application using an IDE, and how easy it actually is to deploy that application on Android and iOS devices. Also will show some of the features and limitations, and talk about the eco-system that is starting to take shape.

Get info of running jvm, os and cpu - tested on Windows 10

Java example to display information of running jvm, os and cpu:

package java_systemproperties;
 
/**
 * @web http://java-buddy.blogspot.com/
 */
public class Java_SystemProperties {
 
    public static void main(String[] args) {
        System.out.println("java.vm.name:\t" 
                + System.getProperty("java.vm.name"));
        System.out.println("java.vm.specification.name:\t" 
                + System.getProperty("java.vm.specification.name"));
        System.out.println("java.vm.specification.version:\t" 
                + System.getProperty("java.vm.specification.version"));
        System.out.println("java.vm.specification.vendor:\t" 
                + System.getProperty("java.vm.specification.vendor"));
        
        System.out.println("os.name:\t" + System.getProperty("os.name"));
        System.out.println("os.version:\t" + System.getProperty("os.version"));
        System.out.println("os.arch:\t" + System.getProperty("os.arch"));
        System.out.println("sun.arch.data.model:\t" 
                + System.getProperty("sun.arch.data.model") + " bit");
        
        System.out.println("PROCESSOR_IDENTIFIER:\t" 
                + System.getenv("PROCESSOR_IDENTIFIER"));
        System.out.println("PROCESSOR_ARCHITECTURE:\t" 
                + System.getenv("PROCESSOR_ARCHITECTURE"));
        System.out.println("NUMBER_OF_PROCESSORS:\t" 
                + System.getenv("NUMBER_OF_PROCESSORS"));

    }
}


Run on Windows 10, with Intel i5 64 bit CPU
Related: Get system properties with System.getProperties()

Install NetBeans IDE on Windows 10

This video show how to install NetBeans IDE (currently 8.0.2) on Microsoft Windows 10.




To download NetBeans IDE, visit https://netbeans.org/