Edit classpath and JDK module
Hello everyone,
I am new to Intellij (8.1.3) and I was wondering if you could assist me. I am coming from Visual Studio and I am trying to get sued to debugging in a different IDE. I have successfully setup several debugging configurations, however, I am having some trouble with setting up an application configuration using "GWT Hosted Mode". I have everything setup except for the correct classpath. The only instructions I have are for Eclipse:
Classpath: Add the appropriate OS jar (gwt-dev-windows.jar or gwt-dev-linux.jar, which are both in lib/build-support/gwt*.*/) and move it to the top, then under Advanced, choose Add Folders and add /gen-src and /src (move them to the bottom)
I'm not sure how to translate that to Intellij. I don't have any options except the default option in the drop-down to select from. Any help would be greatly appreciated.
Thanks!
Please sign in to leave a comment.
Ok, I think I'm getting closer. I have created a new module that points to the correct GWT jar, however, I am receiving this error message:
gwt1.5.3\swt-win32-3235.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
Is this solvable by a newer GWT jar?
After some google searching I found this:
http://code.google.com/p/google-web-toolkit/issues/detail?id=135
There is a comment from:
fredsa, Sep 12, 2008
That has directions about fixing this prblem, but the directions are for Eclipse. Can anyone assist with an IntelliJ translation?
> Can anyone assist with an IntelliJ translation?
just do the same
actually you don't need this step in IDEA if you planning to use other jre only to run programs, not to compile them
ctrl+alt+shift+s (or File->Project Structure) -> add new jdk
modify your run/debug configuration
select: "Use alternative JRE"