added startxvfb script
some refactoring for old jdk
corrected cleanup order
fixed cleanup order
added run in jfx