Quote:
Originally Posted by Qormix
Thanks for the documentation I was able to create a jre haven't tested it on the RoboRio yet.
I have another question. Is this legal for competition? I don't want to ruin the spearit of FIRST
hears what I added
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"
"--extension", "nashorn"
};
|
As far as I am aware, it should be legal. One thing you'll need to be careful of, though, is memory usage. One problem we had when we first started experimenting with java (this was before java 8 was out) was that the jvm used too much memory and crashed on startup. I'm not saying that it will for you, and we haven't seen this issue since we upgraded to java 8, just be aware of it.