Problem to start

HuaMin Chen
HuaMin Chen used Ask the Experts™
on
Hi,
How to resolve this?

18c.png
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
John TsioumprisSoftware & Systems Engineer

Commented:
Have you checked that the actual jvm.dll is located in the path on the error and is not corrupt or locked by any other process...
HuaMin ChenProblem resolver

Author

Commented:
Yes, I've checked it is not locked but I do get this problem.
Top Expert 2016

Commented:
Worth also checking 32/64 bit issues
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

HuaMin ChenProblem resolver

Author

Commented:
More details to your current advice?
John TsioumprisSoftware & Systems Engineer

Commented:
Probably there is configuration issue between your eclipse and JDK....as pointed above check if you have a 64bit project referencing a 32bit JVM and vice versa....
Top Expert 2016

Commented:
If you have a 64 bit machine, make sure you have 64 bit Java throughout (to keep it simple). Likewise if your machine is 32, you need 32 bit Java
HuaMin ChenProblem resolver

Author

Commented:
Dear,
Any advice to this?

C:\DevSuiteHome_1\jdk\jre\bin>java -d64 -version
Unrecognized option: -d64
Could not create the Java virtual machine.
Top Expert 2016

Commented:
java -d64 -version

Open in new window

makes no sense. This is what you want:
java  -version

Open in new window

What do you get?
HuaMin ChenProblem resolver

Author

Commented:
Dear,
FYI

C:\DevSuiteHome_1\jdk\jre\bin>java  -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)

and can you please advise how to check if it is 32-bit or 64-bit?
Top Expert 2016
Commented:
Whatever it is, it's extremely old. You should uninstall it and get the latest JDK for your version of Windows
HuaMin ChenProblem resolver

Author

Commented:
Thanks.
I still get one problem to start Eclipse and here is the log file
!SESSION 2017-10-07 11:55:12.789 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=9
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.osgi 4 0 2017-10-07 11:56:55.808
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: org/w3c/dom/stylesheets/StyleSheet
	at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngineManager.getCSSSWTEngine(ThemeEngineManager.java:41)
	at org.eclipse.e4.ui.css.swt.internal.theme.ThemeEngineManager.getEngineForDisplay(ThemeEngineManager.java:30)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createThemeEngine(PartRenderingEngine.java:1428)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.initializeStyling(PartRenderingEngine.java:1281)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1036)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: java.lang.ClassNotFoundException: org.w3c.dom.stylesheets.StyleSheet cannot be found by org.eclipse.e4.ui.css.core_0.10.100.v20140424-2042
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	... 25 more

Open in new window

Top Expert 2016
Commented:
It's a bug - https://bugs.eclipse.org/bugs/show_bug.cgi?id=466683
I haven't time to read all that. If you can upgrade Eclipse, try that - it will be quicker ;)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial