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 via http://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 -~----------~----~----~----~------~----~------~--~---
