Re: Problem of running JavaXPCOM at Mac OS X
"Grant Gayed" <[email protected]> Tue, 31 Jul 2007 11:20:38 -0400
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <XpOdnfU0ya7azjLbnZ2dnUVZ_ruqnZ2d__29570.8151803867$1185895534$gmane$org@mozilla.org> |
You either do not have xulrunner >= 1.8.1.2 installed or it is not being detected, because the Browser first tries to find a xulrunner whose version is >= 1.8.1.2 before it falls back to xulrunners < 1.8.1.2. However on OS X you need xulrunner >= 1.8.1.2 (see the third bullet of http://www.eclipse.org/swt/faq.php#howusemozilla ). You can get xulrunner 1.8.1.3 from http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/ . Grant "Carfield Yim" <[email protected]> wrote in message news:[email protected]... > On Jul 31, 12:01 am, "Grant Gayed" <[email protected]> wrote: > > Java for Mac OS X 10.4, Release 5 or newer is what's needed to run with a > > 1.5 jre. Unfortunately I'm not sure at what point this jre fix would have > > been added to their 1.6 jre. If you want to be sure that you have the fix > > then you can get the Java for Mac OS X 10.4, Release 5 release fromhttp://connect.apple.com/(ADC, free registration required). > > > > Grant > > > Thanks, just update the JDK using, now the exact version is > > 172-005:~ carfield$ java -version > java version "1.5.0_07" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) > Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode) > 172-005:~ carfield$ > > But the exception changed to > > Exception in thread "main" org.eclipse.swt.SWTError: No more handles > [Failed to use detected XULRunner: /Library/Frameworks/XUL.framework/ > Versions/1.8.0.4] > at org.eclipse.swt.SWT.error(SWT.java:3589) > at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:280) > at org.eclipse.swt.browser.Browser.<init>(Browser.java:109) > at MainScreen.main(MainScreen.java:31) >