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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -