This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line! See this thread for details.
Since you mention "jar" it means that it would be executed by an operating system as a standalone program. Since your program's intended feature is to send an "alert" once a year, do you intend to keep a machine running for that long ? and how are you going to manage machine restarts ?
I'd approach this problem first by determining what kind of "alert" is needed. Is it a desktop alert or is it an email or a mobile message. The solution would differ accordingly.
Next, I'd also suggest researching on the number of users using your system. If it's 10 users, then your program is going to sit idle for most of the year. If its less than 52 then your program will barely send one alert a week in year.
A desktop OS typically has a scheduler that does things wonderfully but it would not match your requirements of being platform independent.
Johnny Joseph wrote:I need a java standalone program which ...
...looking for a java standalone jar ...
I have a feeling that you are looking for a pre-baked solution for your problem. I'm not aware of any such existing programs that do so. The OS typically does a good job at scheduling stuff.
Nevertheless, if you want someone to make a software for you, I think you're at the wrong forum. You can post your requirements on our Jobs offered forum or you can turn towards any local listings or websites in your area.