...
A common problem with JSP/HTML editor plugins is SWT library issues. This is from a myeclipse faq (#9) (http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/htmleditor/index.html):
Note |
---|
this fixes startup problems with 'no more handles' msgs along with the exception spewage in the log file (<workspace>/.metadata/.log) shown in the error dialog. |
Info |
---|
Why isn't there a Preview tab on Linux? / Why doesn't the Web Browser view work in Linux? * The Preview page and Web Browser view use the SWT Browser component for Eclipse which requires Mozilla 1.6 to be installed. Later versions of Mozilla aren't yet supported because of Eclipse Bug #75450 . If you have a later version of Mozilla installed and would like to enable the SWT Browser, you must install a copy of Mozilla 1.6. Here are the steps for installing Mozilla 1.6 on a Linux system. * 1. Download a mozilla-gtk2 build from : http://www.scottbolander.com/mozilla-1.6-xft-gtk2-pc-linux.tar.bz2 This website hosts special mozilla installs that are built with gtk2 support, which is required by the SWT Browser. Note: Mozilla 1.6 builds from official mozilla.org site will not work as they are built with gtk1 support. 2. Go to the directory that you want to install Mozilla 1.6. Good suggestions for this location are: /usr/local or /opt 3. Unzip the mozilla file into the install directory: - cd /usr/local
- tar jxvf /path/to/mozilla-1.6-xft-gtk2-pc-linux.tar.bz2
4. Create the file /etc/gre.conf as shown below. Set the GRE_PATH to the location of the mozilla directory you just unzipped. /etc/gre.conf 1.6 GRE_PATH=/usr/local/mozilla 5. As your normal user, check to see if your environment has the mozilla shell variable defined: - echo $MOZILLA_FIVE_HOME
6. If that returns a value, you will have to unset this variable before running eclipse. You can do that by running the following shell commands each time to start eclipse. - cd /path/to/eclipse_dir
- unset MOZILLA_FIVE_HOME
- ./eclipse
7. Now the SWT Browser will look at your /etc/gre.conf file to find the location of the mozilla 1.6 libraries.
|
...