| [news.eclipse.newcomer] Re: File locking error on startup |
It is not your question that is in question. I am no Gentoo expert, but I have to question the version of the JVM (Java run time) you are using. Not sure if is the problem, but I do not know about the "java.version=1.4.2-gentoo" JVM and if it supports the file locking required. Sun has a JVM for Linux that does work. (I run it on Fedora 2) If the RPM is an issue for gentoo, I am sure there are people out there that could "unpack" it for you, my self included.
This is the only thing that I can see that my cause this problem. try the Sun Linux JVM and see what happens. I currently run java version "1.4.2_03" without problems.
Thanks for your help.
ronw
ejoftheweb wrote:
So can no one help me? or haven't I formulated my question well enough?
Or is it something blindingly obvious that I should have done?
Whatever it is, I'd really like an answer as I need to get on with some work and I'm being rather frustratingly unproductive at the moment!
ejoftheweb wrote:
When I try to start Eclipse 3.0.1 on my gentoo box using the Sun 1.4.2 JDK, it fails with a file locking error reported in the log file.
Caused by: java.io.IOException: An error occurred while locking file "/home/edward/.eclipse/org.eclipse.platform_3.0.1/configuration/org.eclipse.core.runtime/.manager/.fileTableLock": "Value too large for defined data type". A probably reason is that the file system or Runtime Environment does not support file locking. You may want to choose a different location, or disable file locking (using the osgi.locking property), but this can cause data corruption.
The filesystem is ext3; and I can't see anything amiss with permissions and ownership - in any case, Eclipse creates everything in the .eclipse tree.
Any clues as to what this might be about and suggestions as to how to fix it would be welcome.
I have tried both the binary version downloaded from the eclispe site and the Gentoo ebuild (compiled from source), and the same error occurs.
More information from the error file:
!SESSION Feb 28, 2005 07:37:48.489 ---------------------------------------------
eclipse.buildId=200409161125
java.version=1.4.2-gentoo
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US