severe bug fix in java libraries loading handler