- This topic has 11 replies, 4 voices, and was last updated 20 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
IdefixMemberHi,
I know there have been a few posts about this issue, but none seems to match this …
I installed MyEclipse 3.8 beta 2 with Eclipse 3 final and mozilla-firefox 0.8.
Eclipse has NO problems with the internal browser (help works perfectly), but MyEclipse always breaks from the very moment of launching eclipse …It’s always the same error “Unable to open internal browser. Please visit …”
And the preview tab for JSP pages is also not showing.As eclipse has no problems handling the browser (help system works perfectly) it definitely seems to be a problem with MyEclipse. Is there anything like a workaround? Or what else can I do to get this working?
Any help is highly appreciated!!!!!
Thanks
Chris
Riyad KallaMemberChris this is strange… if you check your Eclipse log file <workspace dir>\.metadata\.log I’m guesssing you’ll see some linker errors with the mozilla libs… the SWT browser widget (in Eclipse 3) requires an older version of Mozilla to run (i believe <= 1.4).
How many versions (and what versions) of Mozilla and Firebird do you have installed? Eclipse seems to be happily picking up the right now, MyEclipse isn’t so lucky it seems.
IdefixMemberWell, I only have firefox 0.8 installed, nothing else. And Eclipse doesn’t seem to have any problems with it.
As of the .log entries, the only thing that comes up is the following:
This is if I press Upgarde after launch when myeclipse tells me that it will expire within 30 days. No other log entries …
!ENTRY org.eclipse.core.runtime 4 2 Jul 28, 2004 16:08:08.725
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.ViewFactory.destroyView(ViewFactory.java:397)
at org.eclipse.ui.internal.ViewFactory.releaseView(ViewFactory.java:484)
at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:320)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:259)
at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:516)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:514)
at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1583)
at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:774)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:754)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:3008)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3005)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2985)
at com.genuitec.eclipse.core.MyEclipseWebsiteView.showUrl(Unknown Source)
at com.genuitec.eclipse.core.M$1.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2572)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2301)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)Thanks
Chris
Riyad KallaMemberHmmm… lemme check on this for you.
snpeMemberDoes eclipse open browser for help ?
Are You help like this
http://www.snpe.co.yu/eclipsehelp.png ?
If you haven’t help like this Your widget isn’t set correct
HTML widget work fine with gtk2 version mozilla <= 1.6; I don’t know firefox version, but I think that it isn’t compiled with gtk2 (maybe last version 0.9 , only and it don’t work with eclipse)
regards
IdefixMemberHey,
Thanks everubody for your help. I managed to get it working (even with mozilla 1.7 and firefox 0.9). Hoping my experience will help somebody elso too, here’s what I found out:
Compile mozilla / firefox from the source tree and USE gtk2!!!
Do not use the mozilla-launch script … at least, it didn’t work for me.After compiling and installing, here’s what I had to do: (my firefox is installed in /usr/lib/MozillaFirefox, so enter YOUR path there)
export MOZILLA_FIVE_HOME=/usr/lib/MozillaFirefox
cd $MOZILLA_FIVE_HOME
./regchrome
./regxpcomThen launch eclipse and make sure to have the mozilla adapter selected under preferences -> help
That’s it 🙂
Thanks!
Chris
Riyad KallaMemberChris,
Excellent followup, I think this will be very valuable to other users and I will infact add it to our FAQ.We appreciate you giving back to the group!
IdefixMemberYou’re welcome.
I am actually evaluating MyEclipseIDE for myself, so I’ll most probably post more questions, problems, whatever while I go on.
After having invested so much time myself into investigating and evaluating eclipse plugins, I think or hope MyEclipse could save me a lot of time and maybe even more headaches …
Cheers,
Chris
Riyad KallaMemberI am actually evaluating MyEclipseIDE for myself, so I’ll most probably post more questions, problems, whatever while I go on.
Definately let us know your feedback, we like to hear what the first impressions are.
After having invested so much time myself into investigating and evaluating eclipse plugins, I think or hope MyEclipse could save me a lot of time and maybe even more headaches …
We definately hope so too.
snpeMemberI compile 1.6 and 1.7 (1.7.2) mozilla with gtk2 . 1.6 work fine, but 1.7 return error plugins/org.eclipse.swt.gtk_3.0.0/os/linux/x86/libswt-mozilla-gtk-3062.so: undefined symbol: _ZN9nsCStringC1Ev
swt faq on eclipse site tell that html widget wokr with 1.5,1.5 and 1.6
regards
climMemberCool – Mozilla 1.7 now works since the latest Eclipse integration build I20040901! The SWT FAQ says it’s working since v3104.
Riyad KallaMemberThanks for the update Clim, others will find it very useful!
-
AuthorPosts