removed javaDebug function use for compiling on Mac/linux