Hello,

When I use the gwt:gwt goal on my x64 machine I get:

[INFO] Unpacking /home/najmi/.m2/repository/com/google/gwt/gwt-dev/
1.5.3/gwt-dev-1.5.3-linux-libs.zipto
 /home/najmi/.m2/repository/com/google/gwt/gwt-dev/1.5.3
with Includes null and excludes:null
[INFO] [gwt:gwt]
[INFO] source web.xml present - /home/najmi/wellgeo/svn/wellgeo/trunk/
wellgeo-ui-gwt/src/main/webapp/WEB-INF/web.xml - using it with
embedded Tomcat
[INFO] establishing classpath list (buildClaspathList - scope =
RUNTIME)
[INFO] google.webtoolkit.home (gwtHome) set, using it for GWT
dependencies - /home/najmi/google/gwt-linux-1.5.3
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/najmi/
google/gwt-linux-1.5.3/libswt-pi-gtk-3235.so: /home/najmi/google/gwt-
linux-1.5.3/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS32
(Possible cause: architecture word width mismatch)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1005)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
        at com.google.gwt.dev.GWTShell.<clinit>(GWTShell.java:301)

What is the trick to running gwt:gwt goal on 64 bit machines? I have a
32 bit JDK 6 jvm installed.
When I set JAVA_HOME to that JVM I get:

Unable to locate the Javac Compiler in:
  /usr/lib/jvm/ia32-java-6-sun-1.6.0.07/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

So what are my options?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" 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/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to