made binaryPath private
implemented execution of java files
added method for binary extension