We prove that for an open and dense set of Holder symplectic cocycles over a non-uniformly hyperbolic diffeomorphism there are non-zero Lyapunov exponents with respect to any invariant ergodic measure with the local product structure. Moreover, we prove that there exists an open and dense set of Hamiltonian linear differential systems, over a suspension flow with bounded roof function, displaying at least one positive Lyapunov exponent. In consequence, typical cocycles over a uniformly hyperbolic flow are chaotic. Finally, we obtain similar results for cocycles over general flows preserving an ergodic, hyperbolic measure with local product structure.