Hi All,

I followed the instructions from this page

http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard

but still I get

You must use a Java 1.5 runtime to use GWT Hosted Mode on Mac OS X.


I see some of you added hacks into the boot strap class. Does google
view this seriously and try to release a patch ASAP?

Thanks

On Sep 3, 7:05 am, Alex Moffat <[email protected]> wrote:
> I have another work around that involves changing the
> BootStrapPlatform class in gwt-dev-mac.jar to remove the check for
> java 1.5. If you do this then you can use java 1.6 with the -d32 flag
> and it works fine. More details athttp://development.lombardi.com/?p=1012
>
> On Aug 31, 6:35 pm, Jim Douglas <[email protected]> wrote:
>
>
>
> > Hi Sumit,
>
> > That "workaround" is really not acceptable.  Because Apple considers
> > the JVM to be part of the operating system, messing in those
> > directories amounts to hacking the O/S.  It's unsafe, unsupported, and
> > can -- and probably will -- arbitrarily drop dead at any time with an
> > O/S update.
>
> > I could easily be missing something important, but it seems like this
> > should be a fairly easy thing for you to patch.  My understanding is
> > that the issue with GWT is that you need a 32-bit JVM, and in Mac OS X
> > Leopard, the only way to get a 32-bit JVM is to use Java 5; the
> > Leopard Java 6 is 64-bit-only.  But in Snow Leopard, you can invoke
> > Java 6 with "java -d32 ...", and you will get a 32-bit JVM.  Wouldn't
> > this work for GWT hosted mode?
>
> > Regards,
> > Jim.
>
> > On Aug 31, 3:58 pm, Sumit Chandel <[email protected]> wrote:
>
> > > Hi all,
> > > Hosted mode will be getting an exciting makeover soon, in the form of
> > > Out-Of-Process Hosted Mode (OOPHM). With OOPHM, hosted mode runs as a 
> > > plugin
> > > to your favourite browser so that you can debug with the browser most
> > > familiar to you using whichever other debugging tools it offers while at 
> > > the
> > > same time debugging your GWT code in hosted mode as you do now.
>
> > > OOPHM is currently available in GWT trunk for those who want to give it a
> > > try (instructions linked below).
>
> > > That said, OOPHM solves the problem of requiring 32-bit libraries that
> > > exists in other Mac builds where switching out to Java 1.5 was necessary.
> > > That means that OOPHM will also work perfectly well for Snow Leopard, or 
> > > any
> > > other platform using any Java libraries, 32-bit or not.
>
> > > Hopefully the workaround Dean linked to above will get you up and running
> > > until OOPHM comes out in the next major release. If that workaround 
> > > doesn't
> > > work, please feel free to reply back and let us know.
>
> > > Using OOPHM from 
> > > trunk:http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM
>
> > > Hope that helps,
> > > -Sumit Chandel
>
> > > On Mon, Aug 31, 2009 at 11:35 AM, mdwarne <[email protected]> wrote:
>
> > > > Hi,
> > > > After watching a bunch of Googles GWT videos, and seminar speeches, I
> > > > noticed some of the presenters are using Macbooks.
> > > > I have to believe they are well aware of this issue.
> > > > Mike.
>
> > > > On Aug 31, 4:04 am, Michael Shantzis <[email protected]> wrote:
> > > > > The question I have is how high it is on google's list to release a
> > > > > version of GWT that runs on snow leopard without any modifications.
> > > > > I'm working in an environment where I'm testing jboss (which requires
> > > > > java 1.6) and have had to jump through hoops to get my server running
> > > > > 1.6 and my GWT client running 1.5.
>
> > > > > I'm sure they're already aware of this and it's certainly the case
> > > > > that all the pieces are out there for them.
>
> > > > > I'm patiently waiting!!!
>
> > > > > On Aug 29, 9:21 pm, James <[email protected]> wrote:
>
> > > > > > Hi... I just wanted to add that along with the suggestions on:
>
> > > > > >http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard
>
> > > > > > I had to rename the "CurrentJDK" symbolic link in
>
> > > > > > /System/Library/Frameworks/JavaVM.framework/Versions/
>
> > > > > > from 1.6.0 to the (newly added) 1.5.0 because it appears that ant 
> > > > > > was
> > > > > > looking at the "CurrentJDK" for its version not the env.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to