[PROBLEM] I've build a GUI for my application in e(fx)clipse and exported it as a project .zip-file and executable .jar-file. I compiled it with Java 1.8 and installed the JDK 8 on another machine and ran the .jar. The application starts without error but the whole GUI is broken. All elements (textareas, buttons, etc.) seem to are double their normal size. (GUI was made by coding, no Screen Builder) I have no clue what's the problem here. If you need further information please ask. Thank you!
EDIT: There seems to be a much bigger problem. I've copy pasted a very simple JavaFX tutorial in eclipse and the same problem occurs. So it seems it's not the code but the JVM?
EDIT: Hit boxes for buttons (etc.) are at the right position and clickable. Just the visuals are broken. Setting default stylesheet didn't work.
EDIT: There are some machines with Win7 and same JRE and it works. I've reinstalled the JDK/JRE on the machine where it doesn't work but the problem still occurs. Has someone an idea how to fix this?
[SOLUTION]
As @tomsontom pointed out: The graphics card wasn't compatible to JavaFX. You can fix this by java -jar -Dprism.order=sw your.jar
. Relevant post: JavaFX strange rendering on Windows 7