[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Errors on mac...

Steve Blass wrote:
Don't you need the libswt-*-carbon-*.jnilib files too in addition to swt.jar?
-
Steve


Thomas Arnold wrote:
I downloaded this one from the SWT homepage:

swt-3.3.1.1-carbon-macosx.zip

I only included the SWT.jar from it in my project.

"Tom Schindl" <tom.schindl@xxxxxxxxxxxxxxx> schrieb im Newsbeitrag news:ft57nf$agf$1@xxxxxxxxxxxxxxxxxxxx
What's SWT build you are using?

Tom

Thomas Arnold schrieb:
Hello everybody,

I don´t really know if this is a SWT problem, but I hope you can help me.

I developed a small boardgame in java on my windows-pc. I use the SWT-classes for my GUI, and now wantto make it ready for MAC-OS.

I changed my compiler to compile in java-version 5.0, and included the correct SWT.jar in the Build Path.

But a mac-user reportet that it doesn´r work and postet me a huge java.crash.log.

http://mitglied.lycos.de/thunderfall/java.crash.log

I don´t understand a single line of this error message...

If you have some time, you can try the program yourself: http://mitglied.lycos.de/thunderfall/
(There is a download link for a TEST Version for Mac-OS, named Kingsburg_mac.jar)


Thanks a lot for every bit of help!

Greetings,

Thomas

--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl JFace-Committer
--------------------------------------------------------------------


Starting in version 3.3., the .jnilib files (like the .DLL files for WIndows and .so files for Linux) are included in the SWT.JAR file. So, as long as you have the correct SWT.JAR for the target platform, I think it ought to work. I've done this on Windows and Linux, but don't have a Mac :(

You can double-check this by unzipping the SWT.JAR file and checking its contents. (I make a copy called swtjar.zip to do this.)

Hope this helps. Mark