[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: SWT programs don't work for me after Snow Leopard upgrade

You may have been bitten by the 32 bit versus 64 bit issue.  Snow Leopard
uses a 64 bit JVM and unless you installed the 64 bit Cocoa Galileo, you
will have a problem with trying to load 32 bit SWT libraries in a 64 bit
JVM.  I solved this by installing a 64 bit Cocoa Galileo, which
unfortunately is not easy to find - go to the Eclipse Classic version at the
bottom of the downloads.  Then you have to add all the functionalities that
would have been in the RCP or JEEE versions, but it at least works.


On 9/10/09 1:07 PM, in article
17cbc8316f9517d03037087506771bed$1@xxxxxxxxxxxxxxx, "William Kitching"
<bobilly34@xxxxxxxxxxx> wrote:

> I performed a format and clean install of Snow Leopard on my mac recently
> and proceeded to get my development environment back online.
> 
> I installed Eclipse Galileo, and obtained all my source code from my
> online repository.
> 
> All of a sudden, SWT based applications are causing me problems. The SWT
> based applications crash on what's usually the 1st function call of the
> program:
> 
> display = new Display();
> 
> I've run the same code from the same dev setup on Windows XP and that
> seems to handle my programs fine.
> 
> Unfortunately, I'm not competent enough to debug the actual SWT code
> itself and the debugger seems confused where the actual program lies.
> 
> I've tried the carbon & cocoa release and they both produce the same
> problem.
> 
> Can anyone offer any help? Thank-you.
>