문제

I have GreetingClient class here:

C:\Users\khoy\Desktop\IntelliJ IDEA Projects\src\Networking

When i try it in command line by typing java GreetingClient (after javac GreetingClient.java), it generates the error (as seen in the screen shot below):

enter image description here

도움이 되었습니까?

해결책

go up one level and execute java Networking.GreetingClient


Note

  • Your package naming doesn't match convention

See

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top