It's not a secret anymore!
The moose likes Mac OS and the fly likes .exe on mac problem using jni Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark ".exe on mac problem using jni" Watch ".exe on mac problem using jni" New topic

.exe on mac problem using jni

narasimharao konjeti
Ranch Hand

Joined: Apr 26, 2003
Posts: 130
hi, all, i have one .exe file, i want run on MAC 10.2.x. by using JNI. how can i read the .exe file. and how can i run on mac. please let us know immediately.
nr konjeti

"Unwise to sweat petty stuff, wise to pet sweaty stuff."
Joel McNary

Joined: Aug 20, 2001
Posts: 1824

This sounds more like a Mac question than a JNI question, so I am sending it to that forum.

Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Elton Hughes
Ranch Hand

Joined: Jun 19, 2003
Posts: 72
I admit I am a greenhorn, but I have been using Macs for many years. Files that end in .exe do not work on Macs, unless you use them with a PC emulator like Virtual PC.
If there is a Java workaround I would really be interested in learning about it.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63854

There isn't. A PC emulator is the only way to execute an .exe file on a Mac. (And when set up this way, will only tun withing the PC emulator environment).

[Asking smart questions] [About Bear] [Books by Bear]
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
What is it you are trying to JNI to? Perhaps there is a Mac-compatible binary available, or an alternative that perhaps somebody may be able to suggest.
Just a though...
I agree. Here's the link:
subject: .exe on mac problem using jni
It's not a secret anymore!