I've exported my java program to a runnable jar file, and it works great except for a few methods. When I use apple's methods such as..
System.setProperty("apple.laf.useScreenMenuBar", "true");
..and..
Toolkit.getDefaultToolkit().getDesktopProperty("apple.awt.contentScaleFactor");
..they work in eclipse, but don't run in the runnable jar. How do I fix this?