I did that once, my stomach rumbled and I felt sick after 20 minutes jogging.
If you want to exercise early morning, eat a piece of fruit perhaps half an hour before you go to the gym. I find it keeps me ticking over, then have a light breakfast after.
Have fun exercising!