Go to Post I think this thread needs a reminder that there's no h in mecanum. ;) - Lil' Lavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-09-2016, 01:31
JohnM's Avatar
JohnM JohnM is offline
Registered User
FRC #5854 (Glitch)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2013
Location: North Carolina
Posts: 53
JohnM has a spectacular aura aboutJohnM has a spectacular aura about
Use of Java SE standard libraries on roboRIO

Hopefully a quick question, but I was wondering if any of you knew for sure that the roboRIO's JVM could use all of the standard classes in Java SE, in particular java.net and if regular TCP sockets can be coded the same as if you were programming for the standard JVM that runs on your PC. I'm thinking it can because the site where you download the JVM for the roboRIO is titled "ORACLE JAVA SE EMBEDDED 8"

Thanks.

Last edited by JohnM : 17-09-2016 at 01:33. Reason: spelling
Reply With Quote
  #2   Spotlight this post!  
Unread 17-09-2016, 01:46
AustinShalit's Avatar
AustinShalit AustinShalit is online now
Registered User
no team (WPILib Suite Developer)
 
Join Date: Dec 2013
Rookie Year: 2008
Location: Los Angeles/Worcester
Posts: 81
AustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of lightAustinShalit is a glorious beacon of light
Re: Use of Java SE standard libraries on roboRIO

This is the complete list of classes that can be used on the RoboRIO:

https://gist.github.com/JacisNonsens...1ffce221c0a41b
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 17-09-2016, 03:46
Jaci's Avatar
Jaci Jaci is offline
Registered User
AKA: Jaci R Brunning
FRC #5333 (Can't C# | OpenRIO)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Perth, Western Australia
Posts: 251
Jaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond reputeJaci has a reputation beyond repute
Re: Use of Java SE standard libraries on roboRIO

Quote:
Originally Posted by AustinShalit View Post
This is the complete list of classes that can be used on the RoboRIO:

https://gist.github.com/JacisNonsens...1ffce221c0a41b
To expand on this:
Sockets and Network Communication is usually just the same as you would use on a regular PC.

The only real difference you will find between the desktop and embedded version of the JRE/JDK are the following:
- Lack of Java Beans
- Lack of Java Swing
- Lack of JavaX
- Lack of Java AWT (classes like java.awt.Color)
- Lack of Java Nashorn / Rhino

If you /absolutely need/ any of these, you can download them as a separate .jar file and link it as a dependency to your robot code. Keep in mind anything that deals with GUI (Swing / JavaX) will not run properly, if at all. Consult the classlist posted above if you are unsure.
__________________
Jacinta R

Curtin FRC (5333+5663) : Mentor
5333 : Former [Captain | Programmer | Driver], Now Mentor
OpenRIO : Owner

Website | Twitter | Github
jaci.brunning@gmail.com
Reply With Quote
Reply


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 09:07.

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