Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Install SWT on Mac OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Install SWT on Mac OS X?



Craig Mattocks wrote:
> Has anyone successfully installed version 3.0 of SWT on Mac OS X and
> built an app with it?
[snip]
> 2. Moved the *.jar files into /Library/Java/Extensions/

Don't do anything like that! Remove any of the files you've put into
these system locations (carefully).

Now, put the .jar and .jnilib files into the directory with
MyFirstSWTApp.java.

Compile:
javac -classpath swt.jar:swt-pi.jar MyFirstSWTApp.java

Make sure the launcher program is executable:
chmod a+x java_swt

Run:
./java_swt -classpath swt.jar:swt-pi.jar:. MyFirstSWTApp

-- brion vibber (brion @ pobox.com)

[demime 0.98b removed an attachment of type application/pgp-signature which had a name of signature.asc]
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Install SWT on Mac OS X? (From: Craig Mattocks <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.