[Wine] how to run programs on Mac OS X

Charles Davis cdavis at mymail.mines.edu
Sun Jul 4 14:10:03 CDT 2010


On 7/4/10 7:58 AM, Karl Muller wrote:
> Hi
> 
> I'm a new mac user, and I'm a little lost.
I'm an existing Mac user, and I know my way around. Welcome!
> I've downloaded WINE and successfully used it to install a program called MATLAB R2007b 7.5 (it's a program for science/engineering stuff).
Why, when there's a Mac-native version? (Or, did you happen to own the
Windows version and not have a license to use the Mac version?) Just so
you know, when there's a native version of a program, most people here
will tell you to run the native version instead of running the Windows
version in Wine.
> 
> Under the Program Files in the WINE directory I've got my matlab folder, but it doesn't have a .exe file,
That's because it's a Java application. You need the JRE installed to
run this. And no, you can't use the JRE that's built in to Mac OS X. You
have to install the JRE in Wine.
> the main program file is a .lnk. If I use WINE to run this in the terminal command space it says: 
> wine: Bad EXE format for C:\Program Files\MATLAB\R2007b\MATLAB R2007b.lnk
Well, you're better off than most new users. Most of them don't even
know what Terminal is. :)

Anyway, you can use Wine's built-in 'start' command to open
Windows-style shortcuts. Just run:

wine start 'C:\Program Files\MATLAB\R2007b\MATLAB R2007b.lnk'

from Terminal.
> There's also a .desktop file on my desktop, but that gives me the same thing:
> wine: Bad EXE format for Z:\Users\ksphere\Desktop\MATLAB R2007b.desktop
That file is generated by Wine for the benefit of Desktop Environments
like GNOME and KDE on systems like Linux, because they don't understand
Windows' shortcuts. Mac OS doesn't understand .desktop files, so it's
best to ignore them.

Chip



More information about the wine-users mailing list