fixed issue with --skip-jdk-check
added error handling for missing imports, especially fabric.api