Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Experienced Win SWT team porting to OSX
Experienced Win SWT team porting to OSX [message #522999] Wed, 24 March 2010 17:38 Go to next message
Ken Fasano is currently offline Ken FasanoFriend
Messages: 7
Registered: February 2010
Junior Member
My team has an SWT app running on Windows. We have a lot of experience on Windows, but none on Mac. We have a client that would like a port of the SWT app on Macintosh. We know that several users will be running the app on Macs, but cannot specify a particular OS version other than that it will be OSX (not OS 9).

We will be running OSX 10.6 on a new IMac. We could use JRE 1.6 and 64-bit Eclipse, but our app (which is targeted to JRE 1.5) needs to be 32 bit and compatible with any version of OSX - and therefore 32-bit.

1. Will 32-bit SWT Cocoa run on all versions of OSX? The download page seems to imply only 10.5 and 10.6. Or do we need to use SWT Carbon?
2. Given the answer to 1, can we use 64-bit Eclipse and JRE 1.6 to develop the 32-bit app, or do we need 32-bit Eclipse and JRE 1.5?

Thanks!
Re: Experienced Win SWT team porting to OSX [message #523233 is a reply to message #522999] Thu, 25 March 2010 15:30 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

The Cocoa port runs on OSX 10.5 and newer, the Carbon port runs on OSX 10.4
and newer (if using Carbon on 10.6 note
http://www.eclipse.org/swt/faq.php#cocoa32launch ). If your app needs to
run on an older OSX than 10.4 then you'll need to use an older SWT release
that had this support (I think OSX 10.3 was the oldest ever supported,
either by Eclipse/SWT 3.3.x or 3.2.x).

You should be able to use a 64-bit eclipse release to develop a 32-bit app.
Just keep in mind that if you should stick to Java 1.5 API and earlier,
because JRE 1.6 is not available in a 32-bit flavour prior to OSX 10.6.

Grant


"Ken Fasano" <kfasano@ifmc.org> wrote in message
news:hodin8$o0g$1@build.eclipse.org...
> My team has an SWT app running on Windows. We have a lot of experience on
Windows, but none on Mac. We have a client that would like a port of the SWT
app on Macintosh. We know that several users will be running the app on
Macs, but cannot specify a particular OS version other than that it will be
OSX (not OS 9).
>
> We will be running OSX 10.6 on a new IMac. We could use JRE 1.6 and 64-bit
Eclipse, but our app (which is targeted to JRE 1.5) needs to be 32 bit and
compatible with any version of OSX - and therefore 32-bit.
>
> 1. Will 32-bit SWT Cocoa run on all versions of OSX? The download page
seems to imply only 10.5 and 10.6. Or do we need to use SWT Carbon?
> 2. Given the answer to 1, can we use 64-bit Eclipse and JRE 1.6 to develop
the 32-bit app, or do we need 32-bit Eclipse and JRE 1.5?
>
> Thanks!
Previous Topic:GridLayout has forced margin but FillLayout does not?
Next Topic:SWTBot with Eclipse
Goto Forum:
  


Current Time: Tue Apr 23 15:02:22 GMT 2024

Powered by FUDForum. Page generated in 0.03569 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top