Unable to open JavaFX window in Android mode

Anyone know why this throws an exception in Android mode:

import javafx.stage.Stage;

void setup(){
}

void draw(){ 
}