If you have applied through proper channel for the post of State Forest Department, then there would be no problem in tendering technical resignation and joining the new position.
However, most probably you had to sign a bond while joining Indian Army and the bond period is not yet over (you have served for 7 years). In that case, it would be difficult for you to join the new post. Even if you are allowed to leave Army and join State Forest Department after special consideration, your bond will be transferred, and you will be required to spend the residual bond period in the new Government Office.
Come on, have a fight. Don't shoot and scoot.