[eclipse-users] Can't run the java interface QuickTest

From: Matthew Ford <mcf1986_at_...6...>
Date: Mon, 8 Jan 2007 22:57:13 +0000
Hey,
After compiling QuickTest.java, with the command javac -classpath
/Users/matt/eclipse/lib/eclipse.jar: QuickTest.java
when I subsequently try and run the quick test I get a Null Pointer
Exception, I figure that I have not set the directory correctly but it is
/Users/matt/eclipse  and I can run eclipse from the command line so im not
sure what is going on.

java -classpath /Users/matt/eclipse/lib/eclipse.jar: -
Declipse.directory=/Users/matt/eclipse QuickTest
Exception in thread "main" java.lang.NullPointerException
        at com.parctechnologies.eclipse.EmbeddedEclipse.loadEclipse(
EmbeddedEclipse.java:312)
        at com.parctechnologies.eclipse.EmbeddedEclipse.processOptions(
EmbeddedEclipse.java:234)
        at com.parctechnologies.eclipse.EmbeddedEclipse.<init>(
EmbeddedEclipse.java:164)
        at com.parctechnologies.eclipse.EmbeddedEclipse.getInstance(
EmbeddedEclipse.java:124)
        at QuickTest.main(QuickTest.java:44)
Received on Mon Jan 08 2007 - 22:57:17 CET

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST