Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Can't get Eclipse to work under ubuntu (http://www.chiefdelphi.com/forums/showthread.php?t=142011)

Bitbucket 17-01-2016 19:48

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

Joe Ross 17-01-2016 19:53

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?

Bitbucket 17-01-2016 20:13

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

Bitbucket 18-01-2016 17:33

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.


All times are GMT -5. The time now is 02:57.

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