Friends i need a java program for exponential distribution

The program takes following input :

1)Mean 'm'(int)

2)n(int)

output of program is :

A exponential distribution containing exactly n elements with mean 'm'.

Program description :

The program must produce some exponential distribution series of numbers containing exactly n(specified in input) and the mean of the series must be around m(it is also specified in input).

please some one help me in this program..

Since it is mathematics i am going downnnnnnnn..........