strange behaviors in eclipse vs. dos cli [message #225042] |
Thu, 08 April 2004 20:41 |
Eclipse User |
|
|
|
Originally posted by: jkaditz.andrew.cmu.edu
Anyone who can help,
I am having some very strange issues with a program I developed within
Eclipse 2.1. The program builds and runs fine in eclipse but when i try to
build it at the dos cli it tells me that i am trying to catch an exception
that is never thrown, so i comment the code out just to make it build and it
does. Then when I run it I get the following error
Exception in thread "main" java.lang.NoSuchMethodError: SerialConnection:
method <init>()V not found
at cwrSendPackage.main(cwrSendPackage.java:33)
Conversely when I try to build the project from Eclipse again after
commenting out those lines Eclipse complains that I need to be catching that
exception. I am not sure if this has anything to do with the error I get
when I try to run the program from the commandline, nonetheless I am
stumped. The only thing I can think of is that Eclipse passes a bunch of
argument to the jvm and java compilier that I am not aware of. Is there any
way that I can how Eclipse calls the jvm and java compilier?
thanks in advance,
Jeff
|
|
|
Powered by
FUDForum. Page generated in 0.03460 seconds