Sunday, October 6, 2013

Setting up Development Environment

Setting up a new development environment is usually a tricky endeavour so I am going to go through the steps here to show how I got the environment up and running.

First off I set up a new user on my Ubuntu machine as the environment is calling for a few unique environment variables to be set and I don't want it to interfere with my main user on my machine.

The Lexmark SDK called for the  Java Development Kit version 1.4.2 so I downloaded that after setting up an account with Oracle.  And after 2 hours of trying to install the jdk on linux it's a no go. Something about the tail command not being recognized.  Whatever I'll develop on Windows.

So I downloaded the LES-SDK zip file that lexmark provided and extracted it's contents to a local directory within my home directory.  I downloaded the 1.4.2 JDK from the oracle website and set the java home environment variable. I downloaded the latest version of Eclipse from eclipse.org and extracted that zip file to my home directory.

Inside the SDK zip file you find a file called index.html which goes step by step on how to install eclipse, ant, the java jdk, and how to set up environment variables and get the eclipse plugin working.  I won't repeat the steps here as they are already well laid out in the document there.


No comments:

Post a Comment