<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    JBosstoolsVisualEditorFAQ
</h3>
<span style="margin-bottom: 10px;">
    modified by <a href="http://community.jboss.org/people/yradtsevich">Yahor Radtsevich</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/docs/DOC-10862">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><strong>Q: Which platforms are supported by </strong><strong>Visual Editor?</strong></p><p><strong>A:</strong> The list of supported platforms (and their IDs):</p><ul><li>Windows with Java 32-bit (win32.win32.x86)</li><li>Linux x86 (gtk.linux.x86)</li><li>Linux x86-64 (gtk.linux.x86_64)</li><li>Mac OS X Carbon with Java 32-bit (carbon.macosx.x86)</li><li>Mac OS X Cocoa with Java 32-bit (cocoa.macosx.x86)</li></ul><p>In brief, Java 64-bit is supported on Linux only, on all other systems Visual Editor requires Java 32-bit.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q: Visual Editor does not start under Linux</strong></p><p><strong>A:</strong> Linux users may need to do the following to get the visual editor to work correctly on their machines.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ul><li type="ul"><p>The Visual Page Editor (before JBoss Tools 3.1.0.M4) requires the library libstdc+<em>.so.5. This library is contained in the compat-libstdc</em>+-33.i386 package.</p><ul><li type="ul"><p>To install this package on Fedora Core or Red Hat Enterprise Linux run the following command:</p></li></ul></li></ul><p style="padding-left: 90px;"><span style="font-family: courier new,courier;">yum install compat-libstdc++-33.i386</span></p><ul><ul><li type="ul"><p>On any other rpm based distributions download libstdc++.so.5 and run the following command:</p></li></ul></ul><p style="padding-left: 90px;"><span style="font-family: courier new,courier;">rpm -Uvh compat-libstdc++-33.i386</span></p><ul><ul><li type="ul"><p>On Debian and Debian based distributions (e.g. Ubuntu) run the following command:</p></li></ul></ul><p style="padding-left: 90px;"><span style="font-family: courier new,courier;">apt-get install libstdc++5</span></p><ul><li type="ul"><p>In case you have the library installed and you still have issue with starting the visual page editor then close all browser views/editors and leave one visual page editor open and restart eclipse. This should force a load of the right XULRunner viewer.</p></li></ul><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q: Visual Editor doesn't start at any platform and shows message <span style="font-size: 12pt;">'</span>The VPE editor can't be run because your system environment needs to be changed slightly<span style="font-size: 12pt;">'</span></strong></p><p><strong>A:</strong> Check if you version of JBoss Developer Studio/JBoss Tools is compatible with you version of Eclipse, see the compatibility matrix <a class="jive-link-wiki-small" href="http://community.jboss.org/docs/DOC-14297">http://www.jboss.org/community/wiki/MatrixofsupportedplatformsruntimesandtechnologiesinJBossToolsJBDS</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q: Visual Editor starts OK, but the following message dialog appears:</strong></p><p style="text-align: center;"><a href="http://community.jboss.org/servlet/JiveServlet/showImage/102-10862-37-1955/messageNaturesInfo.PNG"><span> http://community.jboss.org/servlet/JiveServlet/downloadImage/102-10862-37-1955/441-172/messageNaturesInfo.PNG </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>A:</strong> Some functionality of Visual Editor may not work if a project doesn't have org.jboss.tools.jsf.jsfnature or org.jboss.tools.jst.web.kb.kbnature in .project configuration. To fix this problem and turn off the message box execute next steps:</p><ul><li>Right mouse button click on a project in Package Explorer.</li><li>Select <em>Configure -&gt; Add JSF Capabilities</em> from the context menu.</li><li>Configure your project using <em>Add JSF Capabilities</em> wizard and press Finish.</li></ul><p><strong>P.S.</strong> If you are shure that your project does not need JSF capabilities, just disable this message box by checking "<em>Do not show this dialog again!</em>" checkbox.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Q: Visual Part doesn't start and "XPCOM error -2147467259" is shown</strong></p><p><strong>A: </strong>Something bad happened with buildin xulrunner. To check it you should:</p><ul><li>Go to Eclipse -&gt; Help -&gt; About -&gt; Installation Details... -&gt;&#160; Configuration </li><li>find <em>org.eclipse.swt.browser.XULRunnerPath</em> and open this path in terminal</li><li>try xulrunner.exe -version or ./xulrunner -version and it should show what is needed for XR to work</li></ul></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a href="http://community.jboss.org/docs/DOC-10862">going to Community</a></p>

        <p style="margin: 0;">Create a new document in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2128">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>