[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem saving Java file in Eclipse on Debian...



On Fri, Jul 14, 2006 at 05:04:41PM -0700, Redefined Horizons wrote:
> I was told about the Java mailing list on the general user list for
> Debian. I wish I would have found it sooner!
> 
> I hope I can help support Java on Debian.
> 
> I have a few questions I was hoping to find answers to this morning.
> I'll ask the first one here.
> 
> I'm running Debian Etch and I'm having trouble saving Java files in
> Eclipse. I can save any other type of file, but not Java files. Here
> is the error I receive:
> 
> SAVE FAILED:org/eclipse/ui/editors/text/TextFileDocumentProvider
> 
> $FileInfo.fElement
> 
> I did some online searching for this error message and found this:
> 
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=126830

Looks like a VM issue.

> However, I have installed Blackdown's JDK and have it set as the
> default Java environment for my system. I've also set the JAVA_HOME
> variable to point to the Blackdown JDK in my /etc/profiles file.

JAVA_HOME setting is ignored when starting eclipse. The following
command should help to make sure you use your JDK:

echo "JAVA_HOME=/path/to/your/jdk" >> ~/.eclipse/eclipserc

(The default is to use GCJ or any other free runtime you might have
installed. You can verify this in Eclipse's about dialog)
 
> Is anyone else having this problem? How might I fix it? If this is a
> bug, do I need to file a bug report with the maintainers of the
> Eclipse packages?

Reporting this to the bug tracking systems helps tracking this problem
more easily. That would be great. Then we can track easier if its a
GNU classpath problem or a kaffe problem or something different.



Cheers,
Michael (Debian Eclipse Maintainer)
-- 
http://www.worldforge.org/



Reply to: