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

test

enter image description here

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

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -