The recommended way to develop program for leJOS EV3 is to use the leJOS EV3 Eclipse plugin.
If you do not already have a working Eclipse IDE, you should download Eclipse from http://www.eclipse.org/downloads/.
The recommended version of Eclipse is the Eclipse IDE for Java Developers.
Once you have started Eclipse, you will need to install the leJOS EV3 Eclipse plugin. You do that by selecting Help from the menu and then "Install New Software...".
Click the Add... button to add the leJOS EV3 repository.
The repository URL is http://lejos.sourceforge.net/tools/eclipse/plugin/ev3 and you should give it a suitable name such as leJOS EV3.
You should then click the check box and install leJOS EV3 support.
Alternatively you can search for leJOS EV3 in the Eclipse Marketplace and install it from there.
It will ask you to accept the license, will tell you that the plugin has not been signed and will then ask to restart Eclipse. Once Eclipse has restarted, the plugin should be available and you will see menu items and icons for it.
The first thing you need to do is to set EV3_HOME is the preferences. To do this click the Windows menu and select preferences and then leJOS EV3. You should see
You should set EV3_HOME to your installed version of leJOS EV3 as in the picture.
You should leave "Run Tools in separate JVM" set, and "Use ssh and scp" unset. It is a good idea to set
"Run program after upload".
See [Developing with leJOS] for how to use the plugin.