Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mmogley
Post subject: IDE createprocess error on app launch  PostPosted: Oct 19, 2007 - 01:05 AM
Registered Member
Registered Member


Joined: Jun 30, 2005
Posts: 15

After upgrading to MyEclipse 6.0, I am no longer able to run either Java apps or JUnit tests for certain projects.

The specific project experiencing these issues is configured as a MyEclipse Web project. When trying to launch either a Junit test or application, I get the following error in the dialog:

Cannot run program "C:\Java\jdk1.6.0\bin\javaw.exe" (in directory C:\path\to\the\project\home\directory): CreateProcess error=87, the parameter is incorrect

I am able to run the same app and Junit test from the command-line, so this makes me think there is an issue with the IDE, especially since I did not experience this with MyEclipse 5.5/Eclipse 3.2.

Running Windows XP SP2 on a dual-core AMD, if that matters.

I am not sure if the issue is with MyEclipse or Eclipse itself, but I thought I'd post here as a starting point.

Thanks for any suggestions.

Michael
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: IDE createprocess error on app launch  PostPosted: Oct 19, 2007 - 04:18 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5659

Can you go to MyEclipise > Installation Summary > Installation Details and paste the information here for me.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
mmogley
Post subject: RE: IDE createprocess error on app launch  PostPosted: Oct 20, 2007 - 01:47 AM
Registered Member
Registered Member


Joined: Jun 30, 2005
Posts: 15

*** Date:
Friday, October 19, 2007 5:46:41 PM PDT

** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.6.0_02


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.0.1 GA
Build id: 6.0.1-GA-200710


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 6.0.1 GA
Build id: 6.0.1-GA-200710




Eclipse Platform

Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
Build id: M20070921-1145


Eclipse RCP

Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
Build id: I20070625-1500


Eclipse Java Development Tools

Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
Build id: I20070625-1500


Eclipse Project SDK

Version: 3.3.1.R33x_r20070802-7M7J78_mu1mnlRa7A4Ns52XeZ6D0
Build id: M20070921-1145


Eclipse Plug-in Development Environment

Version: 3.3.1.R33x_r20070802-7N7M3D1VIA_52JsDFsEC
Build id: M20070921-1145


Eclipse Graphical Editing Framework

Version: 3.3.1.v20070814
Build id: 20070814-1555




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\Eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
-startup
C:\Eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-product
com.genuitec.myeclipse.product.ide
-vm
C:\Program Files\Java\jre1.6.0\bin\client\jvm.dll
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: IDE createprocess error on app launch  PostPosted: Oct 22, 2007 - 07:04 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5659

Your installation looks good. Have you used the All in One installer to setup MyEclipse ? Can you switch to a brand new workspace, create a new project and try running JUnit test cases again. Do they work ?

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
mmogley
Post subject: RE: IDE createprocess error on app launch  PostPosted: Oct 23, 2007 - 09:02 PM
Registered Member
Registered Member


Joined: Jun 30, 2005
Posts: 15

Nipun,

This did not help. Any other ideas?

Michael
 
 View user's profile Send private message  
Reply with quote Back to top
edmwagner
Post subject: RE: IDE createprocess error on app launch  PostPosted: Oct 23, 2007 - 09:19 PM
Registered Member
Registered Member


Joined: Jan 03, 2007
Posts: 3

Hi, Not sure this is the best place but I am getting this error: com.genuitec.myeclipse.product.ide could not be found
When I start myeclispe after trying to install both:
+ http://columns4eclipse.sourceforge.net/
+ http://eclipseexeditor.sourceforge.net/

These are two of my favorite plugins and I use them all the time. I have sense removed them from the plug-in's dir but the problem persists. Please Help.

Ed
There is more log I can add but didn;t want to blot this to much:
!SESSION 2007-10-23 16:06:09.840 -----------------------------------------------
eclipse.buildId=M20070921-1145
java.version=1.5.0_07
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_US
Framework arguments: -keyring /Users/ewagner/.eclipse_keyring -showlocation -product com.genuitec.myeclipse.product.ide
Command-line arguments: -os macosx -ws carbon -arch x86 -keyring /Users/ewagner/.eclipse_keyring -consoleLog -showlocation -product com.genuitec.myeclipse.product.ide

!ENTRY org.eclipse.equinox.app 2007-10-23 16:06:11.903
!MESSAGE Product com.genuitec.myeclipse.product.ide could not be found.

!ENTRY org.eclipse.osgi 4 0 2007-10-23 16:06:11.921
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:236)
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
mmogley
Post subject: RE: IDE createprocess error on app launch  PostPosted: Oct 24, 2007 - 08:18 AM
Registered Member
Registered Member


Joined: Jun 30, 2005
Posts: 15

Hey, edmwagner, no pun intended, but why not post your issue as a separate topic instead of eclipsing my issue?
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject: RE: IDE createprocess error on app launch  PostPosted: Oct 25, 2007 - 05:55 PM
Moderator
Moderator


Joined: Jan 06, 2004
Posts: 23307

Michael,
I think this is something simple. It looks like in addition to doing anew install of MyEclipse it's possible you also reinstalled Java or did something with your JDK install to cause the location of the EXE your launch configs were using to move... so now when they run, they are configured wrong.

A few things to check:

1. Window > Prefs > Java > Installed JREs. Make sure the JREs listed there are all valid.

2. Under your run configuraitons (Run > Open Run Dialog) make sure the settings under JRE for example are right. Specifically for your JUnit test cases you are trying to run.

3. For the Ant tasks that fail, be sure to go to Run > External Tools > Open External Tools Dialog, and check there too. Make sure all the paths are right.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject: RE: IDE createprocess error on app launch  PostPosted: Oct 25, 2007 - 05:57 PM
Moderator
Moderator


Joined: Jan 06, 2004
Posts: 23307

edmwagner,
It looks like your install might have gotten corrupted. Try and startup MyEclipse/Eclipse if you can at all, and go to Help > Software Updates > Manage Configuraiton, look for plugin configuration errors and report them ehre if you see any.

Additionally, you can erase your log file, and restart MyEclipse and post all the entries that get logged on startup here. it's a good way to trim it back and just allow us to focus on what's wrong.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
mmogley
Post subject: Re: RE: IDE createprocess error on app launch  PostPosted: Oct 25, 2007 - 11:47 PM
Registered Member
Registered Member


Joined: Jun 30, 2005
Posts: 15

Riyad,

Unforunately, ths problem appears to be something more subtle. The settings I've checked and they are all correct. In fact, as I mentioned in the original post, the error only seems to occur for certain projects. I am able to run tests in other projects.

I've also checked the settings in the Run... dialog for the problem project, and the same JDK is being specified as for the projects that work (in fact, I only have one JDK configured in Eclipse).

What else can I try? Would it be helpful to send the .myeclipse project configuration file?

Michael

support-rkalla wrote:
Michael,
I think this is something simple. It looks like in addition to doing anew install of MyEclipse it's possible you also reinstalled Java or did something with your JDK install to cause the location of the EXE your launch configs were using to move... so now when they run, they are configured wrong.

A few things to check:

1. Window > Prefs > Java > Installed JREs. Make sure the JREs listed there are all valid.

2. Under your run configuraitons (Run > Open Run Dialog) make sure the settings under JRE for example are right. Specifically for your JUnit test cases you are trying to run.

3. For the Ant tasks that fail, be sure to go to Run > External Tools > Open External Tools Dialog, and check there too. Make sure all the paths are right.
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject: RE: Re: RE: IDE createprocess error on app launch  PostPosted: Oct 29, 2007 - 06:08 PM
Moderator
Moderator


Joined: Jan 06, 2004
Posts: 23307

Michael,
If you go to Run > Open Run Dialog, then erase all the JUnit run configurations you have... then try and re-run your JUnit tests, it will cause the run configurations to be re-created, and might get out any old settings that were wrong.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
giorgiob
Post subject: Re: RE: IDE createprocess error on app launch  PostPosted: Aug 23, 2008 - 02:59 PM



Joined: Aug 23, 2008
Posts: 1

I seem to have the same crazy problem, both with Eclipse 3.4 and with Eclipse 3.3.

I have two projects on which I have been working on Linux with Eclipse 3.3 for
one year now. I have just moved to WindowXP on a friend's computer and they
both won't start with a similar error:

Exception occurred executing command line.
Cannot run program "C:\jdk1.6.0_07\bin\javaw.exe" (in directory "C:\giorgio\workspace\lic-gen"): CreateProcess error=87, The parameter is incorrect

I have checked the settings of the Java virtual machine and of the run
configuration: everything seems to be OK.
Interestingly, I have another project in the same workspace,
which starts without any problems.
Also, running the project from Eclipse but with Ant works. Maybe
the command line generated by Eclipse is too long for Windows, but
not for Linux?

Thank you in advance for any useful information
Giorgio

mmogley wrote:
Riyad,

Unforunately, ths problem appears to be something more subtle. The settings I've checked and they are all correct. In fact, as I mentioned in the original post, the error only seems to occur for certain projects. I am able to run tests in other projects.

I've also checked the settings in the Run... dialog for the problem project, and the same JDK is being specified as for the projects that work (in fact, I only have one JDK configured in Eclipse).

What else can I try? Would it be helpful to send the .myeclipse project configuration file?

Michael
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: IDE createprocess error on app launch  PostPosted: Aug 25, 2008 - 06:47 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5659

Giorgio,
Are you working with plain Eclipse or MyEclipse?

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
RahulKhire
Post subject: RE: Re: RE: IDE createprocess error on app launch  PostPosted: Sep 10, 2008 - 09:47 AM



Joined: Sep 10, 2008
Posts: 1

Hi Giorgio/Michael
I am also having the same problem as you mentioned with my Eclipse.

Exception occurred executing command line.
Cannot run program "C:\Java\jdk1.6.0_07\bin\javaw.exe" (in directory "C:\Rahul\Project"): CreateProcess error=87, The parameter is incorrect

Did you all get any solution for this one?

Thanks
Rahul
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Re: RE: IDE createprocess error on app launch  PostPosted: Sep 12, 2008 - 08:14 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5659

Rahul,
Are you using any plugins with MyEclipse.? You get this error when you start the IDE?

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits