Hi Steven,

The issue with Eclipse on Java 6 on the Mac is well documented. This
is because until recently SWT used Carbon which is 32-bit only,
whereas Java 6 is 64-bit only and the two just won't mix.

However since 3.5 milestone 4 you can run Eclipse on Cocoa, and
therefore use Java 6. Just look for the download ending with macosx-
cocoa-x86_64.tgz. The SWT-Cocoa support just came out of "Early
Access" but it may still have a few bugs. It would be great if Mac
Eclipse users could try it out and report any bugs they find before
3.5 goes final in June.

Regards,
Neil

On Jan 31, 11:32 am, Steven Herod <[email protected]> wrote:
> I've seen a bug report about this, and I think there was a guy on this
> forum at some point who raised this as an issue.
>
> My C2D MacBook (10.5.6) has no issue, and I've been running Netbeans
> 6.1 thru 6.5 (betas, Nightlies and release)
>
> I had a similar issue with Eclipse for a while, crashed under 64 bit
> Java 1.6, had to force it to run with 32 bit Java 1.5
>
> Reinier Zwitserloot wrote:
> > netbeans on mac os x will actually cause an immediate segfault. After
> > much googling, I found this complete voodoo solution, which actually
> > *STRIPS OUT* the x64 support in the java executable and replaces the
> > existing one with it (yes, futzing about with files in /System, which
> > is verboten). Then it works.
>
> > How could this possibly be?
>
> > NB: If you don't have a 64-bit cpu in your mac, you should definitely
> > not run into this problem, but for everyone else, it seems like this
> > problem should happen on all 64-bit macs, no?
>
> > The solution - run the following in terminal:
>
> > lipo /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/
> > bin/java \
> >    -remove x86_64 -output /tmp/java
> > sudo mv /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
> > Home/bin/java \
> >    /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/
> > java-x86_64
> > sudo mv /tmp/java /System/Library/Frameworks/JavaVM.framework/Versions/
> > 1.5.0/Home/bin/java-32
> > sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
> > Home/bin/java-32 \
> >    /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/
> > java
>
> > viahttp://blogs.sun.com/yakshaving/entry/netbeans_will_not_start_on
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to