View Single Post
  #2   Spotlight this post!  
Unread 13-04-2016, 15:19
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: JAVA in FRC and FTC

Quote:
Originally Posted by docdavies View Post
Folks,

I've been mentoring a team that uses Labview for FRC and a different team that uses Android Studio JAVA for FTC.

We've been asked to move to FRC JAVA for next year because our senior programmer (who preferred Labview) graduates and the school system is beginning to teach JAVA.

I installed Eclipse IDE and looked at some code examples from various teams.

Things were fine until I tried to compile and send code to the RoboRIO.....then things got sour.

First Eclipse told me it could not find "javac"...no paths set up....checked Internet and think I fixed paths.....

After the fix....Android Studio would not open....the JAVA_HOME path I set up was causing problems.

My question is....are the two IDE's compatible? If so...what gyrations do I need to go through to get them to play well together.

Doc
What you should've done was kept what you had than setup a new JRE entry in your eclipse to point to the same one that android pointed to. (It sounds like the autoconfig that was picked up by eclipse was a JRE and not a JDK).

I'm not familiar with how android studio works, you'll have to look at how to configure the compiler for it
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
Reply With Quote