Kraken script Sun Extension module has codes using classes in package com.sun.management, and it seems to be restricted by Eclipse that using these classes. So you may face compilation error on Eclipse with this message: "Access restriction : The type BLAHBLAH is not accessible due to restriction on required library C:\Program files\java\jdk1.5.0_15\jre\lib\rt.jar".
You can disable this error in Eclipse project preferences.
- Choose kraken-sun-extension project and open preferences window.
- Open Java Compiler - Errors/Warnings
- Open Deprecated and restricted API section
- Change combobox value of "Forbidden reference (access rule)" to "Ignore" or "Warning".
- Press Apply and OK.
