question in java/eclipse interface

From: sdlin <sdlin_at_ISI.EDU>
Date: Tue 27 Aug 2002 04:17:49 AM GMT
Message-ID: <039d01c24d80$b7095530$49107e18@wizard2000>
Dear Sir or Madam:
        Following the instruction below, I tried to run "QuickTest.java" but failed
http://www-icparc.doc.ic.ac.uk/eclipse/doc/doc/embedding/node35.html#SECTION00713000000000000000

I'm running JDK1.3.1 on Win2000 and my eclipse root dir is d:\eclipse. I have complied the QuickTest .java successfully and I have included .lib/eclipse.jar into my classpath. But is seems that the system can't detect my eclipse program and the exception was generated while executing this line " eclipse = EmbeddedEclipse.getInstance(eclipseEngineOptions);" 

(the followings are the exception detail)



D:\eclipse>java -Declipse.directory=d:\eclipse QuickTest


Exception in thread "main" com.parctechnologies.eclipse.EclipseException: The lcation of the ECLiPSe installation was not set in the EclipseEngineOptions objet supplied.
        at com.parctechnologies.eclipse.EmbeddedEclipse.processOptions(Embedded
clipse.java:156)
        at com.parctechnologies.eclipse.EmbeddedEclipse.<init>(EmbeddedEclipse.
ava:108)
        at com.parctechnologies.eclipse.EmbeddedEclipse.getInstance(EmbeddedEcl
pse.java:94)
        at QuickTest.main(QuickTest.java:23)

I have tried to use d:/eclipse/lib, d:\eclipse\lib\i386_nt as the eclipse.direction but they all had the same result. 
Appreciate a lot if you can give me some suggestions about what might go wrong. (Besides, I have no problem running Eclipse itself. Both command line version and TK version worked fine)

best,
Shou-de
Received on Tue Aug 27 05:25:53 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:17 PM GMT GMT