|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Can't get Eclipse to work under ubuntu
I'm having trouble getting eclipse to recognize wpilib and networktables under ubuntu. I was successful installing eclipse and the support files under Windows 10, but when I follow the procedure to install on ubuntu I get the following error when eclipse starts:
Unable to install tools: Exception occurred executing command line...see Console for details install cpp install java install tools When I create a simple project that creates Robot.java, eclipse indicates that it cannot find the edu... jar files, and indeed I can't find them on the disk either. I think I followed all the instructions for installation. This is my first year as a mentor and my goal is to try the FRC Simlulation software so I can learn more about programming the robot and be able to help students. Can anyone offer suggests as to where I might have gone off track? Thanks Bob |
|
#2
|
||||||
|
||||||
|
Re: Can't get Eclipse to work under ubuntu
If I had to guess, I would say it's due to https://usfirst.collab.net/sf/go/artf3977.
What does the console say? |
|
#3
|
|||
|
|||
|
Re: Can't get Eclipse to work under ubuntu
Hmm... could be..
I hate to be such a dummy, but I'm having trouble figuring out how to see the 'Console'. There appear to be multiple consoles based on the perspective, and I haven't found the right button to push to see the console that might have more info about this error. I was able to find the jar files in the following directory: /home/bob/.eclipse/org.eclipse.platform_4.5.1_1473617060_linux_gtk_x8 6_64/plugins These are the wpilib jars I found: edu.wpi.first.wpilib.plugins.core_0.1.0.2016011519 23.jar edu.wpi.first.wpilib.plugins.cpp_0.1.0.20160115192 3.jar edu.wpi.first.wpilib.plugins.java_0.1.0.2016011519 23.jar edu.wpi.first.wpilib.plugins.riolog_0.1.0.20160115 1923.jar Is that the proper directory for these? Or should they have been moved to some other directory and something went wrong with that move? Thanks Bob Last edited by Bitbucket : 17-01-2016 at 20:30. Reason: Added Information |
|
#4
|
|||
|
|||
|
Re: Can't get Eclipse to work under ubuntu
It looks like the problem was related to permissions to directories under my home directory (/home/bob). Chasing down the stack traces I found that certain directories didn't exist (such as /home/bob/wpilib/tools). I created them manually and still had problems. But once I change the owner (chown command) and group (chgrp command) of the directories under wpilib to 'bob' instead of root everything worked.
Last edited by Bitbucket : 19-01-2016 at 11:10. Reason: Improved answer |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|