Why do the elements on my GUI look bad when running my application as a compiled stand-alone on Linux or Mac?

2 views (last 30 days)
I am developing a GUI in MATLAB on a Linux system. When I run the GUI it looks bad. The style of the controls (widgets) looks very old.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This can be caused by setting the LD_LIBRARY_PATH to point to a Java Runtime Engine (JRE) version that is incompatible with the MATLAB release that you are using, for example when pointing to the JRE included in another release. It can also be caused by pointing to a non-existing folder in the JRE folder, for example pointing to the 64-bit folder of the JRE on a 32-bit installation.
To solve this issue, check the path to the JRE that is specified in the LD_LIBRARY_PATH for correctness and make sure that the path actually exists.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!