Community

JBosstoolsVisualEditorFAQ

modified by Anastasiya Bogachuk in JBoss Tools - View the full document

Q : Visual Editor does not start under Linux

 

A : Linux users may need to do the following to get the visual editor to work correctly on their machines.

 

  • The Visual Page Editor (before JBoss Tools 3.1.0.M4) requires the library libstdc+.so.5. This library is contained in the compat-libstdc+-33.i386 package.

 

 

    • To install this package on Fedora Core or Red Hat Enterprise Linux run the following command:

 

 

    • On any other rpm based distributions download libstdc++.so.5 and run the following command:

 

 

    • On Debian and Debian based distributions (e.g. Ubuntu) run the following command:

 

 

  • 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.

 

Q: Visual Editor doesn't start at any platform and shows message 'The VPE editor can't be run because your system environment needs to be changed slightly'

 

Q : Visual Editor starts OK, but the following message dialog appears:

http://community.jboss.org/servlet/JiveServlet/downloadImage/102-10862-33-1955/441-172/messageNaturesInfo.PNG

 

 

A : 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:

  • Right mouse button click on a project in Package Explorer.
  • Select Configure -> Add JSF Capabilities from the context menu.
  • Configure your project using Add JSF Capabilities wizard and press Finish.

P. S. If you are shure that your project does not need JSF capabilities, just disable this message box by checking "Do not show this dialog again!" checkbox.

 

Q : Visual Part doesn't start and "XPCOM error -2147467259" are shown

A : Something bad happened with buildin xulrunner. To check it you should:

  • Go to Eclipse -> Help -> About -> Installation Details... ->  Configuration
  • find org.eclipse.swt.browser.XULRunnerPath and open this path in terminal
  • try xulrunner.exe -version or ./xulrunner -version and it should show what is needed for XR to work

Comment by going to Community

Create a new document in JBoss Tools at Community