I had chosen the wrong excel “tool” in eclipse to open xls files. Here is the solution :
Eclipse > right click the xls file > open with > other > select “Microsoft Excel Binary Worksheet” > check “use it for all *.xls files” > ok.
Now the excel files will be opened directly from eclipse.
solved Cannot open excel files from Eclipse STS