LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Eclipse errors on startup (https://www.linuxquestions.org/questions/linux-software-2/eclipse-errors-on-startup-4175452460/)

Birdman48 03-02-2013 11:45 PM

Eclipse errors on startup
 
Eclipse starts up and runs from the command line, but I get these error messages.
Quote:

linux-9mi3:/opt/eclipse # ./eclipse

(gst-plugin-scanner:9794): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstdc1394.so': /usr/lib/gstreamer-0.10/libgstdc1394.so: undefined symbol: dc1394_iso_release_all

(Eclipse:9767): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(Eclipse:9767): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(Eclipse:9767): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

** (Eclipse:9767): WARNING **: The connection is closed

** (Eclipse:9767): WARNING **: The connection is closed

** (Eclipse:9767): WARNING **: The connection is closed

** (Eclipse:9767): WARNING **: The connection is closed

** (Eclipse:9767): WARNING **: The connection is closed

(Eclipse:9767): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(Eclipse:9767): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
^Clinux-9mi3:/opt/eclipse # exit
exit
Also, when I try to run from clicking on the icon in startup I get this error:
Quote:

Locking is not possible in the directory "/opt/eclipse/configuration/org.eclipse.osgi". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument.
/opt/eclipse/configuration/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
what should I do? Thanks

John VV 03-03-2013 02:10 AM

with eclipse in a standard NON-standard location
most packagemanagers ( rpm,deb) will install eclipse to /usr/bin,/usr/share/eclipse , and so on

You will need to export some system variables so that the OS can find everything
the common way is to edit your .bashrc or .bash_profile in your home folder and add the folder "/opt/eclipse/" to the system $PATH
that should do it but might not you might also need to add "/opt/eclipse/configuration/"

Birdman48 03-03-2013 07:32 AM

Could I reinstall to those directories? Do I extract to each one. Is there a formal way to do that? I didn't use a package manager.

John VV 03-03-2013 11:43 AM

what did you install in the first place ?
--
Eclipse IDE for C/C++ Developers
Eclipse IDE for Java Developers
the older "Eclipse Classic 4.2.2"

the major distros have eclipse in their repos
Code:

yum install eclipse
----
apt-get install eclipse

or did you use the file from the eclipse web page
if so read the install instructions
http://www.eclipse.org/
--- install guide ---
http://wiki.eclipse.org/Eclipse/Installation
--- nix users --
http://wiki.eclipse.org/IRC_FAQ#I_ju...the_problem.3F



it is normally best to use the one that is in your distros software repos
as that one is configured for your operating system


All times are GMT -5. The time now is 06:35 AM.