A decent sized bottle lasting several hours would weight 300+ pounds and be the size of a large bomb. Not an option.
I'm also pretty sure that's how most fighters have handled it as well until recent generations. In fact, I just looked it up and the F-18, for example, used liquid oxygen (bottle) until recent variants that upgraded to an oxygen generator.