|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
JAVA in FRC and FTC
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 |
|
#2
|
||||
|
||||
|
Re: JAVA in FRC and FTC
Quote:
I'm not familiar with how android studio works, you'll have to look at how to configure the compiler for it |
|
#3
|
||||
|
||||
|
Re: JAVA in FRC and FTC
Thank you for the info...but I'm not sure how to go about doing what you
suggest. Can you lead me through it? |
|
#4
|
|||
|
|||
|
Re: JAVA in FRC and FTC
The WPI lib group has provided some excellent step by step instructions (with screen shots), demonstrating how to get Eclipse installed and configured to enable programming the roboRIO in Java. See:
http://wpilib.screenstepslive.com/s/4485/m/13809 Hope that helps. |
|
#5
|
||||
|
||||
|
Re: JAVA in FRC and FTC
That's how I got it installed.
The problem started when I tried to use the Android programming IDE and the Eclipse IDE.... |
|
#6
|
|||
|
|||
|
Re: JAVA in FRC and FTC
do you prefer java than c++
|
|
#7
|
|||
|
|||
|
Re: JAVA in FRC and FTC
I'm not sure what caused the problem, but a possible workaround could be to create another user account on the computer that you use to program each robot. Install eclipse in one account and android studio in another account.
|
|
#8
|
|||||
|
|||||
|
Re: JAVA in FRC and FTC
I'm not sure why Android Studio don't run, but I can tell you they are compatible, I have them both installed and working on multiple computers.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|