Thanks for the reply!!!
I followed the link you sent me and finally got it to work !!!
i found i had two different versions of java in my computer and maybe that was causing the problem. I deleted both then installed the new version of freerouting and i also installed the recommended version of java (java 11)and worked fine
I did try to download the version of freerouting that doesn’t need java but it wouldn’t work, when i tried to instal it i kept getting the message that the file is damaged and can’t be opened.