getPortIdentifiers() no working in jar file?

Well the main method is in a class called Execute - but this has the same problem. I have no idea how it runs then?

The jar file does run because I can see the GUI the problem is definitaly with the Serial Communications class