Page 1 of 1

Strange Error

Posted: Sat Jul 16, 2005 5:52 am
by jolinar
Does anyone know what this error means in PHPEclipse?

An internal error occurred during: "Launching".
java.lang.RuntimeException: Unable to execute interpreter: "C:\Apache2\htdocs\gallery/includes/writer.php" D:\My Documents\eclipse\workspace
net.sourceforge.phpdt.internal.launching.InterpreterRunner.run(InterpreterRunner.java:33)
net.sourceforge.phpdt.internal.launching.PHPLaunchConfigurationDelegate.launch(PHPLaunchConfigurationDelegate.java:48)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:569)
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:788)
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:955)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Using eclipse 3.0.1, the latest 1.4 version (I think) of PHPEclipse pluggin, PHP5 and apache 2.0.54. I get this error when I try to run the file I'm working on. I've checked the interpreter and it see,s to be set to the PHP executable but from the error it looks like it using the php file as an interpreter. Does anyone have any ideas?

Posted: Sun Jul 17, 2005 4:15 am
by oscar
you say you have php5...this has caused me problems in the past when using stuff written for php4 or earlier :(

that may be whats causing it...although it isnt exactly a php error :P


to be honest...i don't know :D :P...just thought i'd take a stab

Posted: Sun Jul 17, 2005 9:13 am
by Roja
Those are all java errors.

You'd be better off asking for specific help at the Eclipse project.

Posted: Sun Jul 17, 2005 9:26 am
by dbevfat
it appears that interpreter is not set to an valid path, but since you said you've checked it, i guess you should just install a clean version of PHPEclipse and hope for the best ...

Posted: Mon Jul 18, 2005 8:05 am
by jolinar
That was the problem, the path to php was set incorrectly (recycled eclipse from an earlier installation) Path set correctly and eclipse is behaving itself :)