Tutorial on how to install and setup JInput on Mac OS X using Eclipse

Tutorial on how to install and setup JInput on Mac OS X using Eclipse. This will enable you to use different input devices in your Java programs.

Using mouse, keyboard, joysticks and other input devices in your Java software is much easier using JInput. Unfortunately, the documentation on how to install and setup the software is short and difficult to follow. I was struggling for days getting it to work with Eclipse on Mac OS X 10.12.6. My first approach was to use Maven to install JInput. The excellent M2Eclipse plugin provides good support for Maven. Unfortunately, the pre-configured Maven Repository does not include JInput. I was unable to configure Maven/Eclipse to connect to The Central Repository to download JInput from there. Okay, I am not a fulltime Jave programmer and maybe it would become clear to me eventually. In the meantime I got it to work manually. I hope that this tutorial will help you in your project. I used Mac OS X and I cannot guarantee it will work on any other platform.

 

 

Continue reading “Tutorial on how to install and setup JInput on Mac OS X using Eclipse”

Tutorial on how to install and run Java on Lego Mindstorms EV3 using Eclipse on Mac OS X

This is tutorial on how to install and run Java on your LEGO Mindstorms EV3 using Eclipse and LeJOS.

We will be installing Java and the Eclipse Integrated Development Environment (IDE). This will allow us to develop your LEGO Minstorms EV3 software in Java and running it on the EV3 using LeJoS. Please let me know in the comments if you encounter any problems. I will try to keep this tutorial up to date.

You will need:

This tutorial will only get you started and you might want to dive much deeper into Java development for the EV3. These books might be useful for you:

My personal favourite for building amazing mechanism is Sariel’s book:

Continue reading “Tutorial on how to install and run Java on Lego Mindstorms EV3 using Eclipse on Mac OS X”

Tutorial on how to install and run Java on Lego Mindstorms NXT using Eclipse

This tutorial will show you how to install and configure all the software necessary for you to develop Java programs for the LEGO Mindstorms NXT. Java is much more powerful and flexible than the original NXT-G software that LEGO provides. We will be using the Eclipse editor to write the actual Java code and to download this into the NXT. This combination enables you to conveniently write software and to quickly test it on the NXT. Of course there are many other Java editors, but we consider this combination to be particularly convenient. This tutorial focuses on the Windows XP platform, A Mac OS X tutorial is also available. We have two additional steps for Windows Vista. You will work through the following five steps: Continue reading “Tutorial on how to install and run Java on Lego Mindstorms NXT using Eclipse”