FAQ - Getting Started
- Installation and Upgrades
- What are the system requirements for GWT?
- How do I install GWT?
- Is GWT available in my country? Does it work for my language?
- Does GWT cost anything?
- What type of information will GWT collect?
- Will I have to upgrade my application when a new version of GWT is released?
- How do I get my project to run again after upgrading GWT?
- Licensing
- Support
- Browsers and Servers
Installation and Upgrades
What are the system requirements for GWT?
GWT is designed to run on systems that meet the following requirements:
- Java: Oracle Java 2 Runtime Environment 1.5
- Operating system: Windows Vista/XP/2000, Mac OS X 10.4+ (Tiger or Leopard), or Linux with GTK+ 2.2.1+
- Hardware: ~100MB of free disk space, 512MB RAM
If you have trouble running GWT, and your system meets the requirements above, let us know on the GWT developer discussion group.
How do I install GWT?
For step-by-step instructions, see Getting Started: Quick Start Installing GWT.
Is GWT available in my country? Does it work for my language?
GWT is available in all countries and should work for most languages, though documentation is currently only available in U.S. English.
Does GWT cost anything?
No, GWT is completely free. In fact, all of GWT's source code is available under the Apache 2.0 open source license.
What type of information will GWT collect?
When you use GWT's development mode server or compiler, the application periodically sends a unique timestamp ID and version number of your product back to Google's servers so that the application can notify you of new versions. The timestamp ID is generated the first time you use the compiler or development mode server. As a part of this request, Google will log the timestamp ID and the version number.
The GWT developer plugin checks for updates once a day or as configured on the respective browser, sending the current plugin version number. As a part of this request, Google will log the plugin version number.
We won't log cookies or personal information about you, and we will only use any data we log in the aggregate to operate and improve GWT. We use this information internally to determine usage volume of the development mode server and compiler in the aggregate.
You may choose to not use the development mode server and uninstall the browser plugin at any time. You may use just the GWT compiler with the flag "-XdisableUpdateCheck" to compile your code directly to JavaScript. This does not send a request for the most recent version of GWT.
Will I have to upgrade my application when a new version of GWT is released?
We'll release new versions of GWT on the GWT web site. Barring any unforeseen circumstances, we expect to keep all previous versions of GWT available on the web site as well. As releases become outdated, we'll no longer actively support them on the GWT discussion group, but we'll do our best to keep old releases and documentation around as long as possible.
How do I get my project to run again after upgrading GWT?
If you are working on a project, you may notice problems compiling and running your project if you upgrade the GWT library from one version to another. Sometimes you may see GWT compiler internal errors, or you may see odd runtime errors you've never seen before.
Before you file a bug, try stopping development mode and erasing your
compiler output (usually in the directory www/_<package>_
. Then, restart development mode.
If you're still having problems, though, we definitely want to hear about it!
Licensing
Can I use GWT to develop commercial/enterprise applications?
Yes and yes! GWT is available for non-commercial, commercial, and enterprise applications. All of GWT's code is available under the Apache 2.0 open source license.
Can I redistribute the GWT binaries with my product?
GWT has been released under the Apache 2.0 license, so you're allowed to distribute binaries as per the Apache 2.0 terms. Please note that some libraries used in the GWT are under other licenses as referenced here, so you must comply with their terms as well.
Support
Does GWT have a blog?
Glad you asked! Our blog is http://googlewebtoolkit.blogspot.com/
Whom do I contact if I have questions?
You can post your questions to the GWT developer discussion group on Google Groups. The GWT engineering and operations team will participate in the group and try to answer questions as they come up.
Where should I report bugs?
You can file a bug in the GWT Issue Tracker. Please be sure to search for your problem before reporting a new issue, since someone else might have already reported it. If you would like to be notified about activities on your issue, star the report and you will receive emails at your account's email address.
Where should I submit suggestions to improve GWT?
If you have an idea for an enhancement to GWT, please search through the Issue Tracker. If it isn't there, you might want to first suggest it to the GWT developer discussion group.
You can submit requests for enhancements at the GWT Issue Tracker. When you save your report, it will be labeled as a "Defect" even though you want to submit an RFE (Request for Enhancement). Don't worry! We review each item submitted to our Issue Tracker, and will mark enhancement requests appropriately when we receive them.
Where can I find the GWT source code? Can I submit a patch?
The GWT source code, licensed under Apache 2.0, is available here. If you are interested in contributing a patch, please visit the Making GWT Better guide.
Browsers and Servers
What browsers does GWT support?
GWT supports the following browsers:
- Firefox
- Internet Explorer 8, 9, 10, 11
- Safari 5, 6
- Chromium and Google Chrome
- Opera latest version
Will my app break when a new browser comes out?
Generally, no. GWT was designed in such a way to have all browser-specific code in user-level libraries. What's more, JavaScript itself has very consistent support across browsers, so when the GWT compiler performs its Java-to-JavaScript compilation, it doesn't need to worry about which browser the JavaScript is being generated for.
That said, what makes compliance to newer browsers tricky is the DOM API. For backwards-compatible browsers, it just works. For other cases, it's straightforward to change the user-level libraries. All that's required is to implement a version of DOMImpl for the desired browser. In some cases an entirely new browser may require a bit more work to be supported by GWT, but this would be the exception rather than the rule.
Can I use GWT with my favorite server-side templating tool?
Yes, you are free to use GWT with any server-side templating tool such as XSLT, Frontpage, Dreamweaver, WebObjects, PHP, Active Server Pages, or JavaServer Pages to name a few.
With GWT development, your Java client code gets compiled into equivalent JavaScript that is loaded into your host pages. The generated product is totally independent from the server-side technology that you choose to use in your web application.
You can go ahead and use your favorite server-side templating tool and include your template directives into your host pages along with your GWT-generated JavaScript files. The server-side technology you're using to realize the templates is invisible to the browser and works just as it does without your GWT modules.