Pregunta

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

¿Fue útil?

Solución

go up one level and execute java Networking.GreetingClient


Note

  • Your package naming doesn't match convention

See

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top