Hi all , i'm new here so sorry if i'm posting in the wrong place or something

well my question is , i intend to make a program to determine the shortest path on a map , it works like follows : i have any road map , and i wanna two points , a source and destination , then the map shows me graphically the shortest way within the two points , first i'd like to know if something like this contains image processing and these stuff can be done by java , if not then by any other way ?
and if it could be done by java , i'll be thankful for any help i can got