The jWebSocket source code is provided as an Apache Maven project. The benefit here is that you can either compile it with Maven directly or easily import into an IDE like NetBeans, Eclipse or IntelliJ. This section describes how to import and compile the jWebSocket sources in Eclipse. You can download the latest Eclipse version here.


Please install Apache Maven first and follow the instructions on the Maven page in this installation-guide. If you run an older Eclipse version we further recommend to update to the latest Eclipse version (> 3.5) because Maven requires at least Eclipse 3.3 for the Maven Eclipse plug-in.

Video Tutorials below require QuickTime:


To compile jWebSocket with Eclipse 3.5+ please follow these steps.

  1. Download jWebSocket source from download area with Tortoise Subversion Client and extract or check out into a folder of your choice.
  2. Install the m2eclipse Maven Eclipse plug-in. You can find detailed instructions on how to install it here. Or you can watch our two part video tutorial on how to install m2eclipse. For this tutorial you only need to have this url:

    Tutorial on installing Eclipse Maven plugin pt. 1/2 (watch video)

    Tutorial on installing Eclipse Maven plugin pt. 2/2 (watch video)

  3. Import the jWebSocket Maven project into Eclipse (watch our two part video tutorial)
    In this video I am talking about downloading the source from our Google Code page, but you can also download the entire source from our download area, as mentioned above.

    Tutorial on importing the jWebSocket Maven project into Eclipse pt. 1/2 (watch video)

    Tutorial on importing the jWebSocket Maven project into Eclipse pt. 2/2 (watch video)

Third party links

Nice tutorials how to create jWebSocket plug-in and Android clients in Eclipse:

  1. jWebSocket Server side plugin using eclipse

Learn more about WebSockets in general, get background information and gain deeper insight!

Join jWebSocket

Wether developer, designer or translator – join the jWebSocket team and grow together with our success!

Copyright © 2013 Innotrade GmbH. All rights reserved.