Now runs with java enabled