Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] exception threw only outside of Eclipse

Hi!
       (Sorry!! I wrote the last e-mail in Portuguese)

I'm with the following problem:

I can compile an application without warnings or errors, by Eclipse and by console and when I run it on Eclipse nothing wrong happens, the program runs ok. But, when I run it in console (command line), I have the following exception:
       java.lang.ClassCastException

This cast I'm doing to convert an argument of Object class to another class that I defined.

I want to know why I can run by eclipse and I can't run outside of the eclipse.

Thank you by the help!
Ricardo Schmidt
r76java@xxxxxxxxxxx






Back to the top