Java - run packages from command prompt using simplified class -
i have few packages , class how run package called happyfamilies in command prompt typing java happyfamilies??
./folder$ java happyfamilies
from package explora have understood ,happyfamilies not package ,it's java class. run command prompt
javac /absolute_path_name/happyfamilies.java
after successful compilation
java /absolute_path_name/happyfamilies
Comments
Post a Comment