I changed the dept class I invoked store like this instead
Code:
inCodeHandler.storE(UI);
Anyways, here's the error I get either way I invoke storE.
Code:
Error: Could not find or load main class java
Press any key to continue . . .
It's just odd to me that it would give me this message I am not invoking the inCodeHanlder class. Just a method.. I could just simply add a main class, but I want to know why it's giving me this error. So that's what I'm asking form this overly drawn out post. I just want to know why it's giving me this error when I'm not calling the class, just a method.
P.S: I just realized that I used storE when I should have been using readInput. So I changed it did same thing with readInput as I did with storE and, the same problem persisted.
Last edited by kolt007; October 7th, 2011 at 04:48 PM.
I don't know what you mean java command. And, I don't need a main method because, I'm not calling the class inCodeHandler, I'm calling a specific method. Which would not require inCodeHandler to have a place to start like main methods.
Bookmarks