In Islam, Jihad has four types:
1- Jihad by heart: By fighting the devil and his temptations to remain a better Muslim and warding off the doubts that he stirs up to undermine faith
2- Jihad against oneself (The Major Jihad): This is the jihad (struggle) for self-reformation. The struggle is against our own temptations such as greed, lust and other worldly temptations. This is a journey of a person from an ‘animalistic’ state of existence ie living for immediate gratification or gain to one where his psyche is disciplined enough to exercise moral control. This type of jihad is obligatory on every Muslim throughout his life.
3- Jihad by the tongue/pen: is concerned with spreading the word of Islam with one's tongue or writing and the verbal (or written) defense of Islam as well as encouraging people to do good and avoid sins.
4- Jihad by the hand: This includes applying the rulings of Islam and this is done only by those in charge of the country and declaration of war and that too is ONLY in the hands of the country's leader.
This also includes keeping your military power trained, up-to-date and ready as the Holy verse says: "And prepare against them whatever you are able of power and of steeds of war by which you may terrify the enemy of Allah and your enemy and others besides them whom you do not know [but] whom Allah knows. And whatever you spend in the cause of Allah will be fully repaid to you, and you will not be wronged." (8:60), and it includes of course protecting borders as well as harbours.