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

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -