Hello
Install a Java stack using the SWPM tool and follow the ADS configuration guide:
http://scn.sap.com/docs/DOC-1242
https://help.sap.com/SAPHELP_nwmobile71/helpdata/EN/37/504b8cbc2848a494facfdc09a359b1/content.htm
If you run into any issues during the configuration check this:
Also check this link for additional information
http://scn.sap.com/docs/DOC-8085
Good Luck
RB