can you glue the jamb mouldings instead of nailing

It is not recommended.

Did you find what you were looking for?