3 Replies Latest reply on Oct 18, 2007 4:04 PM by Max Rydahl Andersen

    Visual Editor Won't Start on Ubuntu 6 *with libxp6 installed

    Ian Darwin Newbie

      Installed Eclipse 3.3.0 and JBossTools-2.0.0.beta4-ALL-linux-gtk.zip.

      Platform is Ubuntu:

      ian@speedy:~$ uname -a
      Linux speedy 2.6.15-27-amd64-k8 #1 SMP PREEMPT Fri Dec 8 17:56:50 UTC 2006 x86_64 GNU/Linux

      Message is:
      The VPE editor can't be run because your system environment needs to be changed slightly.
      Find out more.

      The last line is a link to the Wiki page JBosstoolsVisualEditorFAQ which says that you need libxp. I did this:

      sudo apt-get install libxp6
      sudo apt-get install libxp-java

      Restarted my X session and Eclipse, but still get the same message.
      Close and re-open the RHDS Perspective, still get same message.
      Closing and opening a different file in RH Html Editor still get the same message.

      FWIW, in the RHDL Perspective, the online help does work correctly (as formatted HTML).

      TIA!

        • 1. Re: Visual Editor Won't Start on Ubuntu 6 *with libxp6 insta
          Max Rydahl Andersen Master

          try and get the latest nightly build - here we use xulrunner which should avoid all these libxp needs and conflicts with existing browser(s).

          • 2. Re: Visual Editor Won't Start on Ubuntu 6 *with libxp6 insta
            Ian Darwin Newbie

             


            try to get the latest nightly build - here we use xulrunner which should avoid all these libxp needs and conflicts with existing browser(s).

            Still no dice. As of this morning, I am using:

            20071001.testing-eclipse-jee-europa-fall-linux.gtk.x86_64.tar.gz
            JBossTools-200710171522-nightly-ALL-linux-gtk.zip

            There are no other plugins installed (I did "rm -r eclipse" and just extracted the above two files, nothing else). Should anything else be needed?

            So, srry to report that this made no difference (except I'm glad to see the Perspective name changed from RHDL to Web Dev, thanks!). But the Visual Editor still will not run.

            However, I did find a "detail message" this time, in this snippet from the top secret hidden :-) Eclipse log file (e.g., $WORKSPACE/.metadata/.log):
            !SESSION 2007-10-18 12:25:47.792 -----------------------------------------------
            eclipse.buildId=M20070921-1145
            java.version=1.6.0
            java.vendor=Sun Microsystems Inc.
            BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
            Command-line arguments: -os linux -ws gtk -arch x86_64
            
            !ENTRY org.jboss.tools.vpe 4 0 2007-10-18 12:26:51.278
            !MESSAGE nsIWebBrowser is not available
            !STACK 0
            org.jboss.tools.vpe.xulrunner.XulRunnerException: nsIWebBrowser is not available
             at org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.<init>(XulRunnerBrowser.java:91)
             at org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.<init>(XulRunnerEditor.java:109)
             at org.jboss.tools.vpe.editor.mozilla.MozillaEditor$4.<init>(MozillaEditor.java:214)
             at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.createPartControl(MozillaEditor.java:214)
             at org.jboss.tools.vpe.editor.VpeEditorPart.createPartControl(VpeEditorPart.java:518)
             at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.addPage(JSPMultiPageEditorPart.java:82)
             at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPagesForWindows(JSPMultiPageEditor.java:399)
             at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor.createPages(JSPMultiPageEditor.java:375)
             at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditorPart.createPartControl(JSPMultiPageEditorPart.java:124)
             at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
            


            Does this help? There must be some kinda internal web browser because the help page works...

            Thanks!!

            • 3. Re: Visual Editor Won't Start on Ubuntu 6 *with libxp6 insta
              Max Rydahl Andersen Master

              we got a similar issue in jira: JBIDE-1096

              btw. as a workaround try and start eclipse in an environment where it can't see your firefox ....