Lorenzo Tagliaferro wrote:I have another issue!
I'm not able to launch the application by the shell!!!
I receive an error to find or load the main class.
This is the command: C:\Console\java -classpath classes ConsoleExample
Someone can help me?! Please!
OK, you've given the JVM the correct classpath, now you have to give it the fully-qualified name of the class you're trying to run
The above command line would only work if ConsoleExample.class file was in the 'classes' folder, and was not part of any package. As an experiment, copy ConsoleExample.class into 'classes', run the same command line and you'll get a different error (something like 'wrong name').
(If my clue above wasn't enough, try "C:\Console\java -classpath classes org.example.console.ConsoleExample
)