MyEclipse 2025.2.0 locks .jar files, different behavior from version 2021 #13
Replies: 3 comments 3 replies
-
|
Sorry to hear you're running into this with MyEclipse 2025. I cannot recall any specific change in the loading and locking behavior in the recent past- here are a few questions that should help us figure this out:
Hope we'll be able to figure this out in short order. Thanks! |
Beta Was this translation helpful? Give feedback.
-
|
Hi! Thank you for the response. T
.classpath file: <?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output=".target" path="app"/>
<classpathentry kind="src" output=".target" path="test"/>
<classpathentry kind="lib" path="C:/GIT/java-apps/prj-rest-api/target/scala-2.10/classes_managed"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-java-jdbc_2.10/2.2.3/jars/play-java-jdbc_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-jdbc_2.10/2.2.3/jars/play-jdbc_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play_2.10/2.2.3/jars/play_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/sbt-link/2.2.3/jars/sbt-link.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.javassist/javassist/3.18.0-GA/bundles/javassist.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-exceptions/2.2.3/jars/play-exceptions.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/templates_2.10/2.2.3/jars/templates_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.github.scala-incubator.io/scala-io-file_2.10/0.4.2/jars/scala-io-file_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.github.scala-incubator.io/scala-io-core_2.10/0.4.2/jars/scala-io-core_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.jsuereth/scala-arm_2.10/1.3/jars/scala-arm_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-iteratees_2.10/2.2.3/jars/play-iteratees_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.scala-stm/scala-stm_2.10/0.7/jars/scala-stm_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe/config/1.0.2/bundles/config.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-json_2.10/2.2.3/jars/play-json_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-functional_2.10/2.2.3/jars/play-functional_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-datacommons_2.10/2.2.3/jars/play-datacommons_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/joda-time/joda-time/2.2/jars/joda-time.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.joda/joda-convert/1.3.1/jars/joda-convert.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.fasterxml.jackson.core/jackson-annotations/2.2.2/jars/jackson-annotations.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.fasterxml.jackson.core/jackson-core/2.2.2/jars/jackson-core.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.fasterxml.jackson.core/jackson-databind/2.2.2/jars/jackson-databind.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/io.netty/netty/3.7.1.Final/bundles/netty.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.netty/netty-http-pipelining/1.1.2/jars/netty-http-pipelining.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.slf4j/slf4j-api/1.7.5/jars/slf4j-api.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.slf4j/jul-to-slf4j/1.7.5/jars/jul-to-slf4j.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.slf4j/jcl-over-slf4j/1.7.5/jars/jcl-over-slf4j.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/ch.qos.logback/logback-core/1.0.13/jars/logback-core.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/ch.qos.logback/logback-classic/1.0.13/jars/logback-classic.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.akka/akka-actor_2.10/2.2.0/jars/akka-actor_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.akka/akka-slf4j_2.10/2.2.0/bundles/akka-slf4j_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.apache.commons/commons-lang3/3.1/jars/commons-lang3.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.ning/async-http-client/1.7.18/jars/async-http-client.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/oauth.signpost/signpost-core/1.2.1.2/jars/signpost-core.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/oauth.signpost/signpost-commonshttp4/1.2.1.2/jars/signpost-commonshttp4.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/commons-logging/commons-logging/1.1.1/jars/commons-logging.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/xerces/xercesImpl/2.11.0/jars/xercesImpl.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/xml-apis/xml-apis/1.4.01/jars/xml-apis.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/javax.transaction/jta/1.1/jars/jta.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.jolbox/bonecp/0.8.0.RELEASE/bundles/bonecp.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.google.guava/guava/14.0.1/bundles/guava.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.h2database/h2/1.3.172/jars/h2.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/tyrex/tyrex/1.0.1/jars/tyrex.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-java_2.10/2.2.3/jars/play-java_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.yaml/snakeyaml/1.12/bundles/snakeyaml.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.hibernate/hibernate-validator/5.0.1.Final/jars/hibernate-validator.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/javax.validation/validation-api/1.1.0.Final/jars/validation-api.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.jboss.logging/jboss-logging/3.1.1.GA/jars/jboss-logging.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.fasterxml/classmate/0.8.0/bundles/classmate.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.springframework/spring-context/3.2.3.RELEASE/jars/spring-context.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.springframework/spring-core/3.2.3.RELEASE/jars/spring-core.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.springframework/spring-beans/3.2.3.RELEASE/jars/spring-beans.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.reflections/reflections/0.9.8/jars/reflections.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.google.code.findbugs/jsr305/2.0.1/jars/jsr305.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/javax.servlet/javax.servlet-api/3.0.1/jars/javax.servlet-api.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-java-ebean_2.10/2.2.3/jars/play-java-ebean_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.avaje.ebeanorm/avaje-ebeanorm/3.2.2/jars/avaje-ebeanorm.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.avaje.ebeanorm/avaje-ebeanorm-agent/3.2.1/jars/avaje-ebeanorm-agent.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.hibernate.javax.persistence/hibernate-jpa-2.0-api/1.0.1.Final/jars/hibernate-jpa-2.0-api.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-cache_2.10/2.2.3/jars/play-cache_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/net.sf.ehcache/ehcache-core/2.6.6/jars/ehcache-core.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.typesafe.play/play-test_2.10/2.2.3/jars/play-test_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/junit/junit/4.11/jars/junit.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.hamcrest/hamcrest-core/1.3/jars/hamcrest-core.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.specs2/specs2_2.10/2.1.1/jars/specs2_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.scalaz/scalaz-core_2.10/7.0.2/bundles/scalaz-core_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.scalaz/scalaz-concurrent_2.10/7.0.2/bundles/scalaz-concurrent_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.scalaz/scalaz-effect_2.10/7.0.2/bundles/scalaz-effect_2.10.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/com.novocode/junit-interface/0.10/jars/junit-interface.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.scala-tools.testing/test-interface/0.5/jars/test-interface.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.fluentlenium/fluentlenium-festassert/0.8.0/jars/fluentlenium-festassert.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.fluentlenium/fluentlenium-core/0.8.0/jars/fluentlenium-core.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-java/2.32.0/jars/selenium-java.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-android-driver/2.32.0/jars/selenium-android-driver.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-remote-driver/2.32.0/jars/selenium-remote-driver.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.json/json/20080701/jars/json.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-api/2.32.0/jars/selenium-api.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.apache.httpcomponents/httpclient/4.2.1/jars/httpclient.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.apache.httpcomponents/httpcore/4.2.1/jars/httpcore.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/commons-codec/commons-codec/1.6/jars/commons-codec.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.apache.commons/commons-exec/1.1/jars/commons-exec.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/net.java.dev.jna/jna/3.4.0/jars/jna.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/net.java.dev.jna/platform/3.4.0/jars/platform.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-chrome-driver/2.32.0/jars/selenium-chrome-driver.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-htmlunit-driver/2.32.0/jars/selenium-htmlunit-driver.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/net.sourceforge.htmlunit/htmlunit/2.12/jars/htmlunit.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/xalan/xalan/2.7.1/jars/xalan.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/xalan/serializer/2.7.1/jars/serializer.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/commons-collections/commons-collections/3.2.1/jars/commons-collections.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.apache.httpcomponents/httpmime/4.2.3/jars/httpmime.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/net.sourceforge.htmlunit/htmlunit-core-js/2.12/jars/htmlunit-core-js.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/net.sourceforge.nekohtml/nekohtml/1.9.18/jars/nekohtml.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/net.sourceforge.cssparser/cssparser/0.9.9/jars/cssparser.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.w3c.css/sac/1.3/jars/sac.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/commons-io/commons-io/2.2/jars/commons-io.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.eclipse.jetty/jetty-websocket/8.1.9.v20130131/jars/jetty-websocket.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.eclipse.jetty/jetty-util/8.1.9.v20130131/jars/jetty-util.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.eclipse.jetty/jetty-io/8.1.9.v20130131/jars/jetty-io.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.eclipse.jetty/jetty-http/8.1.9.v20130131/jars/jetty-http.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-firefox-driver/2.32.0/jars/selenium-firefox-driver.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-ie-driver/2.32.0/jars/selenium-ie-driver.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-iphone-driver/2.32.0/jars/selenium-iphone-driver.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-safari-driver/2.32.0/jars/selenium-safari-driver.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.webbitserver/webbit/0.4.14/jars/webbit.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.seleniumhq.selenium/selenium-support/2.32.0/jars/selenium-support.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.easytesting/fest-assert/1.4/jars/fest-assert.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/repository/local/org.easytesting/fest-util/1.1.6/jars/fest-util.jar"/>
<classpathentry kind="lib" path="C:/PlayFramework/framework/sbt/boot/scala-2.10.3/lib/scala-library.jar"/>
<classpathentry kind="lib" path="lib/commons-email-1.4.jar"/>
<classpathentry kind="lib" path="lib/commons-text-1.6.jar"/>
<classpathentry kind="lib" path="lib/httpmime.jar"/>
<classpathentry kind="lib" path="lib/javax.mail.jar"/>
<classpathentry kind="lib" path="lib/jaxb-api.jar"/>
<classpathentry kind="lib" path="lib/jaxb-impl.jar"/>
<classpathentry kind="lib" path="/prj-data/jars/prj-data.jar" sourcepath="/prj-data/src"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/PRJ-Data"/>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/PRJ-Engine"/>
<classpathentry kind="lib" path="/prj-engine/jars/prj-engine.jar" sourcepath="/prj-engine/src"/>
<classpathentry kind="lib" path="C:/GIT/java-apps/prj-rest-api/lib/sox-java-1.0.4.jar" sourcepath="C:/GIT/sox-wrapper-java/src/main/java/ie/corballis/sox"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin"/>
</classpath> |
Beta Was this translation helpful? Give feedback.
-
|
I'm glad you figured this out and really appreciate you posting the workaround in detail here. I can't say right now why there is a difference in the behavior in these two cases, but it will be related to slightly different functionality in relative vs external JARs We'll take a look at what plugins are responsible for the lock (likely Eclipse's JDT itself) and will see if the behavior can be changed in future versions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I updated MyEclipse from 2021.x.y to 2025.2.0 on Dec 31. The upgrade was successful but now when the IDE launches, it opens 26 jar files that are in "lib" subfolders of the main project folders. For example: dashboard\lib and restapi\lib. It does not open jar files found in other folders, that are not subfolder of the project. For example: \externallibs\somesdk. This behavior prevents an external build script from completing because there are open handles on the files. Web searches showed this was a problem many years ago and offered some suggestions like turning off automatic building. So far nothing has worked. Why does the new version of the IDE to open these files and what can I do to get the old behavior back?
Beta Was this translation helpful? Give feedback.
All reactions