Move error up so we don't modify the classpath until online.