Cross platform Java Builder

1 view (last 30 days)
Steve
Steve on 11 Jan 2013
Commented: Jason Sensat on 17 Apr 2015
I'm trying to compile a Java jar using the Java Builder on a Mac with Matlab but run it on a Linux server with the MCR and Matlab (but without the Java Builder). Unfortunately, it looks like the jar that gets produced contains Mac-specific binaries for the needed toolboxes (image and stats), which obviously don't work when I use the jar on Linux.
Is there any way to either include the appropriate Linux binaries in the jar or to pick up the right binaries from Matlab on the Linux workstation, ignoring the Mac binaries included in the jar?
I don't have the Java Builder on the Linux workstation, so I can't just rebuild my Java jar there.
Thanks, Steve
  1 Comment
Jason Sensat
Jason Sensat on 17 Apr 2015
Did you get an answer to this one? I have the same issue going from Windows to Linux.

Sign in to comment.

Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!