Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » "Could not launch the configuration"
"Could not launch the configuration" [message #290879] Fri, 02 September 2005 15:28 Go to next message
Eclipse UserFriend
Originally posted by: adamshaw.uchicago.edu

Greetings --

I am trying to run a demo project that comes with the "JDG2E Eclipse"
book. When I try to run it (via Run | Run... and the appropriate options)
I get a dialog telling me "could not launch the configuration". It also
gives me an error log which looks like this:

!SESSION 2005-09-02 10:23:18.953
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application com.ibm.jdg2e.miniwp.application
-pdelaunch
Command-line arguments: -application com.ibm.jdg2e.miniwp.application
-data .\runtime-workspace-miniwp -dev
file:/home/adamshaw/eclipse-workspaces/e31/workspace/.metada ta/.plugins/org.eclipse.pde.core/JDG2E
Mini-Workplace/dev.properties -pdelaunch -os win32 -ws win32 -arch x86
-clean

!ENTRY org.eclipse.osgi 2005-09-02 10:23:20.753
!MESSAGE Bundle
initial@reference:file:plugins/org.eclipse.swt.gtk.linux.x86_3.1.0.jar/
[12] was not resolved.

!ENTRY org.eclipse.osgi 2005-09-02 10:23:20.844
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.ui.workbench (15).
!STACK 0
org.osgi.framework.BundleException: The activator
org.eclipse.ui.internal.WorkbenchPlugin for bundle
org.eclipse.ui.workbench is invalid

(more...)
-----------------------------------------------

It seems to me some of the "plumbing" needed by eclipse to run the project
is missing or in the wrong place.

Does anyone know what to do about this? Thanks in advance.

-- Adam
Re: "Could not launch the configuration" [message #290881 is a reply to message #290879] Fri, 02 September 2005 15:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

It looks like you're trying to run Eclipse and it's expecting a Linux platform (The gtk linux x86 port of SWT is attempting to be resolved).

You're running on (say) a Windows platform, so it won't find it. There's an equivalent one with win32 though.

There's the possibility that the book was developed and tested on a Linux platform, and there's some hard-coded reference to either (a) the gtk plugin, or (b) you're specifying the wrong application type in the lauch application dialog.
Re: "Could not launch the configuration" [message #290883 is a reply to message #290881] Fri, 02 September 2005 15:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adamshaw.uchicago.edu

Actually, I am running on a Linux platform...but I now see some settings
in Run | Run... that I may wish to tweak.
Re: "Could not launch the configuration" [message #290904 is a reply to message #290883] Fri, 02 September 2005 17:49 Go to previous message
Eclipse UserFriend
Originally posted by: adamshaw.uchicago.edu

I got it...I needed to set the run configuration's "Program Arguments" to
match my system.

Thanks!
Previous Topic:Wizard
Next Topic:Notification of caret movement?
Goto Forum:
  


Current Time: Thu Apr 25 11:27:58 GMT 2024

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

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

Back to the top