Quote:
Originally Posted by michaelwm
Is this a problem with the fact the roboRIO is running an embedded version of Java 8?
|
Correct. You can take a look at the API's included in our profile for the JRE here:
http://www.oracle.com/technetwork/ja...w-2157132.html. We use the compact 2 profile when creating the JRE. If you need to use Nashorn, you can create your own JRE and install it in /usr/local/frc/JRE. Take a look here for stuff about creating custom JREs:
http://docs.oracle.com/javase/8/embe...e.htm#A1161602. We use the following options when running JRECreate:
Code:
private static String[] JRE_CREATE_COMMAND = {"java",
"-jar",
"", // This is the JRECreate jar location
"--dest", "JRE", // This is the folder that you need to put in /usr/local/frc
"--profile", "compact2",
"--vm", "client",
"--keep-debug-info",
"--debug"
};