Problem running E4/e(fx)clipse on iMac [message #1254704] |
Sun, 23 February 2014 13:19  |
Eclipse User |
|
|
|
I am developing an eclipse 4 application with JavaFX on my iMac, which is running Mavericks (OS X 10.9). I have eclipse 4.3 (Kepler) and Java 7 (1.7.0_45-b18) installed. I also have e(fx)clipse installed (0.9.0). Is this mix of software versions correct for my set-up and do they work with each other? I ask, because I have been working on this for several weeks now and I was successfully going along. Today, I must have done something (although I can't figure out what), because now I get errors I never got before. I even went through the process of uninstalling the extra plug-ins and reinstalling them. I will list out the specifics below.
Java version:
java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
Eclipse installation details:
e(fx)clipse - IDE - Kepler 0.9.0.201401250805 org.eclipse.fx.ide.all.kepler.feature.feature.group BestSolution.at
e(fx)clipse - IDE - Basic 0.9.0.201401250805 org.eclipse.fx.ide.basic.feature.feature.group BestSolution.at
e(fx)clipse - IDE - Converter 0.9.0.201401250805 org.eclipse.fx.ide.converter.feature.feature.group BestSolution.at
e(fx)clipse - IDE - CSS 0.9.0.201401250805 org.eclipse.fx.ide.css.feature.feature.group BestSolution.at
e(fx)clipse - IDE - FXGraph 0.9.0.201401250805 org.eclipse.fx.ide.fxgraph.feature.feature.group BestSolution.at
e(fx)clipse - IDE - FXML 0.9.0.201401250805 org.eclipse.fx.ide.fxml.feature.feature.group BestSolution.at
e(fx)clipse - IDE - Mobile 0.9.0.201401250805 org.eclipse.fx.ide.mobile.feature.feature.group BestSolution.at
e(fx)clipse - IDE - PDE 0.9.0.201401250805 org.eclipse.fx.ide.pde.feature.feature.group BestSolution.at
e(fx)clipse - IDE - RRobot 0.9.0.201401250805 org.eclipse.fx.ide.rrobot.feature.feature.group BestSolution.at
Eclipse e4 Tools (Incubation) 0.14.0.v20140116-1126 org.eclipse.e4.core.tools.feature.feature.group Eclipse.org
Eclipse e4 Tools Source (Incubation) 0.14.0.v20140116-1126 org.eclipse.e4.core.tools.feature.source.feature.group Eclipse.org
Eclipse for RCP and RAP Developers 2.0.1.20130919-0803 epp.package.rcp null
Eclipse Platform 4.3.1.M20130911-1000 org.eclipse.platform.ide null
EPP RCP/RAP Feature 2.0.1.20130919-0803 org.eclipse.epp.package.rcp.feature.feature.group Eclipse Packaging Project
The installation sites:
target platform:
http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site
e(fx)clipse:
http://download.eclipse.org/efxclipse/updates-nightly/site
I know a point of confusion for me is the correct site(s) to be using for e(fx)clipse.
OK, here is the error I get when I run the E4 product:
!SESSION 2014-02-23 12:52:53.098 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -product cf531.app.product -clearPersistedState
Command-line arguments: -product cf531.app.product -data /Users/josephgagnon/Documents/workspace/CF531/../runtime-cf531.app.product.product -dev file:/Users/josephgagnon/Documents/workspace/CF531/.metadata/.plugins/org.eclipse.pde.core/cf531.app.product.product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog -clearPersistedState
!ENTRY org.eclipse.osgi 4 0 2014-02-23 12:52:58.834
!MESSAGE error loading hook: org.eclipse.fx.osgi.fxloader.FXClassloaderConfigurator
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/osgi/internal/hookregistry/HookConfigurator
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.eclipse.osgi.baseadaptor.HookRegistry.loadConfigurators(HookRegistry.java:176)
at org.eclipse.osgi.baseadaptor.HookRegistry.initialize(HookRegistry.java:100)
at org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>(BaseAdaptor.java:98)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor(EclipseStarter.java:738)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:259)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.internal.hookregistry.HookConfigurator
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 31 more
!ENTRY org.eclipse.equinox.app 4 0 2014-02-23 12:53:03.008
!MESSAGE javafx/application/Application
!STACK 0
java.lang.NoClassDefFoundError: javafx/application/Application
at org.eclipse.fx.osgi.util.AbstractJFXApplication.start(AbstractJFXApplication.java:81)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassNotFoundException: javafx.application.Application cannot be found by org.eclipse.fx.osgi.util_0.9.0.201401250701
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 4 more
|
|
|
Re: Problem running E4/e(fx)clipse on iMac [message #1255192 is a reply to message #1254704] |
Mon, 24 February 2014 02:13   |
Eclipse User |
|
|
|
Hi,
The problem you report has been reported already multiple times. It
looks like the hooks that get loaded are the one from Kepler whereas
your target is based on Luna because you are using "updates-nightly"!
I think the problem has to do with caching in Equinox/PDE so I'd make
sure that the configuration area is cleared (In your Run Configuration
on Tab Configuration "clear the configuration area before launching")
The more severe problem is that the nightlies do NOT support Java7
anymore - see announcement on this newsgroup.
The update site for the target you have to use is
http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site!
Tom
On 23.02.14 19:19, Joseph Gagnon wrote:
> I am developing an eclipse 4 application with JavaFX on my iMac, which
> is running Mavericks (OS X 10.9). I have eclipse 4.3 (Kepler) and Java 7
> (1.7.0_45-b18) installed. I also have e(fx)clipse installed (0.9.0). Is
> this mix of software versions correct for my set-up and do they work
> with each other? I ask, because I have been working on this for several
> weeks now and I was successfully going along. Today, I must have done
> something (although I can't figure out what), because now I get errors I
> never got before. I even went through the process of uninstalling the
> extra plug-ins and reinstalling them. I will list out the specifics below.
>
> Java version:
>
> java -version
> java version "1.7.0_45"
> Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
> Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
>
> Eclipse installation details:
>
> e(fx)clipse - IDE - Kepler 0.9.0.201401250805
> org.eclipse.fx.ide.all.kepler.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - Basic 0.9.0.201401250805
> org.eclipse.fx.ide.basic.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - Converter 0.9.0.201401250805
> org.eclipse.fx.ide.converter.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - CSS 0.9.0.201401250805
> org.eclipse.fx.ide.css.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - FXGraph 0.9.0.201401250805
> org.eclipse.fx.ide.fxgraph.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - FXML 0.9.0.201401250805
> org.eclipse.fx.ide.fxml.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - Mobile 0.9.0.201401250805
> org.eclipse.fx.ide.mobile.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - PDE 0.9.0.201401250805
> org.eclipse.fx.ide.pde.feature.feature.group BestSolution.at
> e(fx)clipse - IDE - RRobot 0.9.0.201401250805
> org.eclipse.fx.ide.rrobot.feature.feature.group BestSolution.at
> Eclipse e4 Tools (Incubation) 0.14.0.v20140116-1126
> org.eclipse.e4.core.tools.feature.feature.group Eclipse.org
> Eclipse e4 Tools Source (Incubation) 0.14.0.v20140116-1126
> org.eclipse.e4.core.tools.feature.source.feature.group Eclipse.org
> Eclipse for RCP and RAP Developers 2.0.1.20130919-0803
> epp.package.rcp null
> Eclipse Platform 4.3.1.M20130911-1000
> org.eclipse.platform.ide null
> EPP RCP/RAP Feature 2.0.1.20130919-0803
> org.eclipse.epp.package.rcp.feature.feature.group Eclipse Packaging
> Project
>
> The installation sites:
>
> target platform:
> http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site
>
> e(fx)clipse:
> http://download.eclipse.org/efxclipse/updates-nightly/site
>
> I know a point of confusion for me is the correct site(s) to be using
> for e(fx)clipse.
>
>
> OK, here is the error I get when I run the E4 product:
>
> !SESSION 2014-02-23 12:52:53.098
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_45
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments: -product cf531.app.product -clearPersistedState
> Command-line arguments: -product cf531.app.product -data
> /Users/josephgagnon/Documents/workspace/CF531/../runtime-cf531.app.product.product
> -dev
> file:/Users/josephgagnon/Documents/workspace/CF531/.metadata/.plugins/org.eclipse.pde.core/cf531.app.product.product/dev.properties
> -os macosx -ws cocoa -arch x86_64 -consoleLog -clearPersistedState
>
> !ENTRY org.eclipse.osgi 4 0 2014-02-23 12:52:58.834
> !MESSAGE error loading hook:
> org.eclipse.fx.osgi.fxloader.FXClassloaderConfigurator
> !STACK 0
> java.lang.NoClassDefFoundError:
> org/eclipse/osgi/internal/hookregistry/HookConfigurator
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:190)
> at
> org.eclipse.osgi.baseadaptor.HookRegistry.loadConfigurators(HookRegistry.java:176)
>
> at
> org.eclipse.osgi.baseadaptor.HookRegistry.initialize(HookRegistry.java:100)
> at org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>(BaseAdaptor.java:98)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.createAdaptor(EclipseStarter.java:738)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:259)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.osgi.internal.hookregistry.HookConfigurator
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 31 more
>
> !ENTRY org.eclipse.equinox.app 4 0 2014-02-23 12:53:03.008
> !MESSAGE javafx/application/Application
> !STACK 0
> java.lang.NoClassDefFoundError: javafx/application/Application
> at
> org.eclipse.fx.osgi.util.AbstractJFXApplication.start(AbstractJFXApplication.java:81)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:26)
>
> at java.lang.Thread.run(Thread.java:744)
> Caused by: java.lang.ClassNotFoundException:
> javafx.application.Application cannot be found by
> org.eclipse.fx.osgi.util_0.9.0.201401250701
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> ... 4 more
>
|
|
|
|
|
|
|
|
Re: Problem running E4/e(fx)clipse on iMac [message #1267714 is a reply to message #1267311] |
Sun, 09 March 2014 08:42  |
Eclipse User |
|
|
|
The only solution i'd have:
a) create a completely new workspace
b) create a completely new target setting
c) import the projects from the old workspace
Tom
On 08.03.14 21:50, Joseph Gagnon wrote:
> I'm at a loss to explain why it still shows the 1.0.0 version. I have
> checked everywhere I can think of and it shows version 0.9.0. I have
> removed the run configuration and started a new one (with the options to
> clear the workspace and configuration checked). It makes no difference.
> There must be a cache somewhere that I don't know about that still
> contains the old info. If you provide me with a list of items to
> inspect, I will check into them.
>
> Here is the configuration (as I know it) again for reference:
>
> Mac OS X 10.9.1
> Eclipse Kepler (4.3.0)
> Java 7 SDK (1.7.0_45)
> e(fx)clipse plug-in 0.9.0.201401250805 from
> http://download.eclipse.org/efxclipse/updates-released/0.9.0/site
>
> target platform
> e(fx)clipse runtime 0.9.0.201401250701 from
> http://download.eclipse.org/efxclipse/runtime-released/0.9.0/site
>
> I'd like to include the contents of various config files, but that takes
> up too much space and I can't include attachments.
>
|
|
|
Powered by
FUDForum. Page generated in 0.06429 seconds