You are not logged in.

#1 2007-07-13 12:49:51

Pilli
Member
Registered: 2004-09-01
Posts: 46

Problem with eclipse and web page editor

Hi!

I've downloaded eclipse europa for J2EE developers. It's works well, but when i try open jsp file with web page editor eclipse show me a alert.

Unhandled event loop exception
No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]

If i set MOZILLA_FIVE_HOME < export MOZILLA_FIVE_HOME="/opt/mozilla/" >the alert show:

Unhandled event loop exception
No more handles (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3346 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file)

How can i fix it?

Thanks!

Offline

#2 2007-07-13 13:41:44

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Problem with eclipse and web page editor

Hello,

Can you check if you have a file named $ECLIPSE_HOME/plugins/org.eclipse.swt.gtk.linux.x86_3.3.0.v3346.jar ?  If not you should be able to get it with Eclipse's update menu.  Alternatively, it is available at http://www.eclipse.org/swt/

Good luck.

Offline

#3 2007-07-13 18:26:08

Pilli
Member
Registered: 2004-09-01
Posts: 46

Re: Problem with eclipse and web page editor

Hi!

Yes, i've this file (org.eclipse.swt.gtk.linux.x86_3.3.0.v3346.jar).
I've too intalled swt, with pacman.

Does you work with eclipse and J2EE? Can you open jsp file with web page editor?

Thanks!

Offline

#4 2007-07-13 21:12:24

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Problem with eclipse and web page editor

Hey Pilli,

I just created a new "Dynamic Web" project.  Inside it, I created a new jsp from template, and everything seems to be working just fine.

I did not install Eclipse from the Arch repos.  I downloaded the big tarball (Platform SDK, I believe it is called), and installed it myself, with my user as owner of all files.  After that, I used Eclipse's Software Update manager to install J2EE Standard Tools (JST), Web Standard Tools (WST), and the CDT.  Everything seems to be working.

Ciao

Offline

#5 2007-07-14 11:48:05

Pilli
Member
Registered: 2004-09-01
Posts: 46

Re: Problem with eclipse and web page editor

Hi peart!

I have not installed it either. I have tried with several compressed files:

eclipse-jee-europa-linux-gtk.tar.gz
wtp-all-in-one-sdk-R-2.0-200706260303-linux-gtk.tar.gz
eclipse-SDK-3.3-linux-gtk.tar.gz. After extracts I update and installs WTP.

All ways fails.

Too try add "-Djava.library.path=.:/home/pilli/eclipse:/usr/share/java/swt" eclipse.ini file.

I can works with jsp file with jsp editor, but when i try edit with web page editor, a jsf visual editor, eclipse breaks.

I use KDE.

Thanks!

Offline

#6 2007-07-14 13:55:58

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Problem with eclipse and web page editor

Guess what Pilli?

I just tried to open a .jsp with the web page editor instead of the jsp editor.  Kaboom!  Exact same errors as you.  I will look into it, and report back if I find something.

Later.

Offline

#7 2007-07-14 17:01:50

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Problem with eclipse and web page editor

I give up.

I tried installing xulrunner, using LD_LIBRARY_PATH, and everything else I could find on the SWT FAQ.  That web page editor refuses to work.  I think it's time to submit a bug report to Eclipse.

Sorry I couldn't help.
Ciao.

Offline

#8 2007-07-14 18:13:57

Pilli
Member
Registered: 2004-09-01
Posts: 46

Re: Problem with eclipse and web page editor

Hi peart!

I think that isn't eclipse problem.

I've tried in Ubuntu and works ok.

I've too tried in Kubuntu and not works, but I've installed firefox and eclipse web page editor works. And in addition i can use internal browser in eclipse, this option isn't available in Arch.

I think that is a firefox issue.

What do you think?

Offline

#9 2007-07-14 21:36:49

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Problem with eclipse and web page editor

What do I think?  I think I fixed it smile

The 2 changes to my installation since this morning:
1) Installing xulrunner (pacman -Sy xulrunner).  I think it is required, but am not sure.  It is mentioned in the SWT FAQ.
2) export MOZILLA_FIVE_HOME=/opt/mozilla/lib/firefox (<- not /opt/mozilla).

The web page editor worked for me, and I hope it works for you too.

Good luck!

Offline

#10 2007-07-16 06:50:08

Pilli
Member
Registered: 2004-09-01
Posts: 46

Re: Problem with eclipse and web page editor

Hi.

You are a genius.

I only need change MOZILLA_FIVE_HOME. (export MOZILLA_FIVE_HOME=/opt/mozilla/lib/firefox-2.0.0.4/)

xulruner isn't required.

Thanks.

Offline

#11 2017-05-22 21:53:50

ireng
Member
From: Bradford
Registered: 2016-03-09
Posts: 43

Re: Problem with eclipse and web page editor

hey , when you open new project did you select the right compiler for jee ?
I do not know much about this stuff  but I think it should work.
I c it s solved any way .

Last edited by ireng (2017-05-22 21:55:31)


Kind Regards,
jIrenge

Offline

#12 2017-05-22 22:04:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Problem with eclipse and web page editor

Ten year old thread? You have been warned about ignoring the Code, consider this you last.
https://wiki.archlinux.org/index.php/Co … bumping.22



Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2017-05-22 22:36:25

headkase
Member
Registered: 2011-12-06
Posts: 1,976

Re: Problem with eclipse and web page editor

jasonwryan wrote:

Closing

Forgot something? wink

Offline

#14 2017-05-22 22:38:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Problem with eclipse and web page editor

tongue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB