In this paper, a numerical scheme is presented by applying the finite element method to the viscosity equations of the Hamilton-Jacobi equations on unstructured meshes. By improving the finite element scheme, another numerical scheme is constructed. Under certain limitations, the numerical solutions of the two schemes converge to the viscosity solutions of the Hamilton-Jacobi equations. The latter numerical scheme has weaker restrictions than the former scheme for convergence. Numerical examples are provided to test the stability, convergence and sensitivity to different meshes.