First of all you don't need a scaner.
You need to have for loop with algorithm to see is it odd or not inside that loop.
So you will have something like this:
for(i=1; i<=15; i++)
{
// if you get remainder of division with 2 then that is odd number
int result = (int) (i % 2);
//if result is 1 then that is odd number so you just write it down
if (result == 1) {
System.out.println(i);
}
}