Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » iClasspathEntry problems
iClasspathEntry problems [message #1467548] Mon, 10 November 2014 05:30
Magnus Warker is currently offline Magnus WarkerFriend
Messages: 16
Registered: October 2012
Junior Member
Hi,

after a system update on my Debian Jessie system, I ran into problems with eclipse (Juno).

First, I got a broken JRE configuration. I had to create a new definition ( /usr/lib/jvm/java-7-openjdk-amd64/) to resolve this.

Since then I get errors in different situations mentioning some "iClasspathEntry":. For example when launching a single Java file with a main method:

An internal error occurred during: "Launching Path".

org.eclipse.jdt.internal.core.ClasspathEntry$AssertionFailedException: Path for IClasspathEntry must be absolute: 
	at org.eclipse.jdt.core.JavaCore.newLibraryEntry(JavaCore.java:4665)
	at org.eclipse.jdt.internal.launching.JRERuntimeClasspathEntryResolver.resolveLibraryLocation(JRERuntimeClasspathEntryResolver.java:229)
	at org.eclipse.jdt.internal.launching.JRERuntimeClasspathEntryResolver.resolveLibraryLocations(JRERuntimeClasspathEntryResolver.java:119)
	at org.eclipse.jdt.internal.launching.JRERuntimeClasspathEntryResolver.resolveRuntimeClasspathEntry(JRERuntimeClasspathEntryResolver.java:60)
	at org.eclipse.jdt.internal.launching.RuntimeClasspathEntryResolver.resolveRuntimeClasspathEntry(RuntimeClasspathEntryResolver.java:45)
	at org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspathEntry(JavaRuntime.java:942)
	at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getBootpathExt(AbstractJavaLaunchConfigurationDelegate.java:360)
	at org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate.getVMSpecificAttributesMap(AbstractJavaLaunchConfigurationDelegate.java:563)
	at org.eclipse.jdt.launching.JavaLaunchDelegate.launch(JavaLaunchDelegate.java:68)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:883)
	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
	at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Also when opening the Java preferences, I get errors like this:

unable to create the selected preference page
java.lang.nullpointerexception


Sometimes the JRE settings get lost, and I have to define them again.

However, when I repeat playing around then sometimes it works again.

What is going on here?

Thanks
Magnus
Previous Topic:E git plugin not automatically recognizing git projects
Next Topic:.location file format
Goto Forum:
  


Current Time: Mon Nov 23 15:58:53 GMT 2020

Powered by FUDForum. Page generated in 0.02346 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top