Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » PDE Build fails with "Java returned 13"
PDE Build fails with "Java returned 13" [message #326894] Wed, 02 April 2008 19:17 Go to next message
Eclipse UserFriend
Originally posted by: kosta.bea.com

We are in the process of adopting 3.4 M6 into our product build. Our
existing build works fine with 3.4 M5, but is having issues with M6. My
guess it's an interaction between p2 and PDE build. I am hoping that
someone has seen this before and knows a workaround.

Our build basically takes the eclipse distros (eclipse platform sdk +
several others), unzips them all into a "target platform" location and
then does a basic invocation to PDE build. That worked with M5. With M6,
we are getting "Java returned: 13" when calling PDE build.

The log file has the following exception:

java.lang.IllegalStateException: Unable to acquire application service.
Ensure that the org.eclipse.core.runtime bundle is resolved and started
(see config.ini).
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:74)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:362)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
at org.eclipse.core.launcher.Main.main(Main.java:30)

What's weird is that if after the build fails, I go to the target
install directory, launch eclipse, let it sit for 10 minutes thinking,
and then cancel from the "pick the workspace dialog", the build will run
fine after that.

I tried adding a call to start target platform eclipse with -initialize
before calling PDE build, but that doesn't change the outcome.

Is this a known problem? Does anyone know of any workarounds?

Thanks,

- Konstantin
Re: PDE Build fails with "Java returned 13" [message #326898 is a reply to message #326894] Wed, 02 April 2008 21:11 Go to previous message
Eclipse UserFriend
Originally posted by: kosta.bea.com

Opened bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=225410. Looks
like it's a known issue with M6. Removing p2 from the eclipse sdk
distribution (http://wiki.eclipse.org/Equinox_p2_Removal) works around
this problem.

- Konstantin
Previous Topic:Search step-by-step tutorial for writing web service (and deploy to AppServer)
Next Topic:LinkageError when executing an Ant task that implement BuildListener
Goto Forum:
  


Current Time: Thu Dec 26 21:04:26 GMT 2024

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

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

Back to the top