I'm a little self taught at java. I have a package: package:

package org.newdawn.spaceinvaders

there's folders like org and newdawn are created and nested. the main is Game.java at end of those folders. How do i run it? i went to the end folder and typed java Game that didn't work.


java -cp "_your class path,place where folder org is_" org.newdawn.spaceinvaders.Game

that did work. thanks