Quelle
To be clear, you can do GWT development on 64-bit Linux and (mostly) a 64-bit JVM:
- Your default O/S Java can be 64-bit
- You can use Eclipse 64-bit
- Your default Eclipse Java can be 64-bit
- Your GWT Eclipse projects can use a 64-bit Java for building
However, hosted mode has to use a 32-bit JVM, so you must:
1. Also install a 32-bit JVM; you can download directly from Sun and install somewhere on
your system
http://java.sun.com/javase/downloads/index.jsp
2. Register this JVM with Eclipse:
Windows -> Preferences
Java -> Installed JREs
Add... -> (Use a name like "jdk1.6.0_07 32-bit")
3. Modify your *.launch files to explicitly use a 32-bit JRE
Run -> Run Configurations...
Java Application -> (Your launch config)
JRE -> Alternate JRE -> (select 32-bit JVM setup in previous step)
4. Modify your "*-shell" scripts to explicitly use the 32-bit JVM. Your "*-compile" scripts
can continue to use the default 64-bit Java
Keine Kommentare:
Kommentar veröffentlichen