Code runs in eclipse but wont run went exported as a runnable .jar

My code runs perfectly in eclipse but doesnt when its exported as a jar file. is there a debugger I could use or any solutions?