0

I'm new to Java development (using it for speeding up my real-time game server, coming from Python).

I'm trying to add some basic Java server-side websockets, and added the simplest example code I found (from WebSockets production ready server in Java?).

I'm importing the following:

enter image description here

My problem is, eclipse is telling me that the import "javax.websocket" cannot be resolved. Where I can add the "javax" module? I don't understand the complicated interface fully yet, thanks a lot for any help! (I've got the latest eclipse, with Java 8 installed on Mac os X 10.11 latest)

Community
  • 1
  • 1
Stan Tatarnykov
  • 691
  • 9
  • 17

1 Answers1

1

Do you use JDK or Java EE? javax.websocket is in Java EE.

gigadot
  • 8,879
  • 7
  • 35
  • 51