Go to Post Robotics = my anti drug. - Queen_of_Mascot [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 21-01-2015, 08:20
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 146
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Re: fsilberberg

Quote:
Originally Posted by Qormix View Post
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.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:17.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi