Blog do projektu Open Source JavaHotel

sobota, 2 stycznia 2010

GWT 2.0 and 64 bit

Next step into 64 bit world.

I'm finally also 64 bit enabled with new GWT 2.0. But not without pain.


GWT 2.0 plugin.

New GWT development mode requires special plugin for browser (I'm using firefox 64 bit). After starting development mode it asks to install plugin, then downloads it, restarts firefox. But then again fails to recognize that plugin has been installed already, asks to install it again, downloads, restarted and again the same.
The solution was to upgrade firefox from 3.0.15 to 3.5.6 - after that it works like a charm.

64 bit eclipse and 32 bit compiler

Another problem came up when I tried to compile my application (Google - GWT Compile)

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x062565bc, pid=16726, tid=3495807888
#
# Java VM: Java HotSpot(TM) Server VM (10.0-b19 mixed mode linux-x86)
# Problematic frame:
# V  [libjvm.so+0x2565bc]
#
# An error report file with more information is saved as:
# /home/perseus/workspace/test/hs_err_pid16726.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

The problem disappeared after changing compiler from 32 bit (jdk1.6.0_04) to 64 bit (jdk1.6.0_17).

Netbeans 6.8

I was unable to debug my application in Development Mode, it worked but I could not set breakpoints. But also problem disappeared after recompiling (Clean and Build). Probably GWT compiler only after fresh recompiling added Java Script codes necessary to integrate with Java debugger.

 
So next stronghold in the 64 bit world was taken !

Brak komentarzy:

Publikowanie komentarza