Eclipse Installer error [message #1808441] |
Mon, 24 June 2019 16:34 |
Eclipse User |
|
|
|
Hello all,
I am currently trying to install the latest version of eclipse. I haven't ever used it before and I seem to be running into some issues installing it. My roommate attempted a fresh install and everything worked, so the problem is something locally on my end. I have attached the error messages below. Any suggestions?
|
|
|
|
Re: Eclipse Installer error [message #1808476 is a reply to message #1808454] |
Tue, 25 June 2019 12:23 |
Eclipse User |
|
|
|
I opened up the cmd prompt and I seem to be getting "system cannot find the file specified" messages. I'm also a newbie to all this so it's possible I'm just enetering it wrong, so feel free to explain it like I'm 5.
I created a folder under program files called "Eclipse" and placed the eclipse-inst-win64.exe in it.
So in the command prompt I've put in "<C:\Program Files\Eclipse>/eclipse-inst-win64.exe -vm C:\Program Files\Java\jdk-12.0.1\bin\java.exe" exactly like that. If there's any mistakes in there, please let me know.
Edit: I managed to get a browser window to pop up stating:
Unfortunately the Java version needed to run Eclipse Installer couldn't be found on your system. You need the following version or a higher version:
Java 1.8.0 (64 Bit)
Please download and install a Java Runtime Environment (JRE), or a Java Development Kit (JDK) if you plan to do Java development
Oracle JDK 12 Oracle JRE 12
Manual addition of --add-modules=ALL-SYSTEM required for applications based on Eclipse Neon (4.7) or older.
Oracle JDK 11 Oracle JRE 11
Manual addition of --add-modules=ALL-SYSTEM required for applications based on Eclipse Neon (4.7) or older.
Oracle JDK 10 Oracle JRE 10
Manual addition of --add-modules=ALL-SYSTEM required for applications based on Eclipse Neon (4.7) or older.
Oracle JDK 9 Oracle JRE 9
Manual addition of --add-modules=ALL-SYSTEM required for applications based on Eclipse Neon (4.7) or older.
Oracle JDK 8 Oracle JRE 8
★ The best default choice that is most compatible with all current and older Eclipse products.
Are there one or more of these I should add?
Thanks!
[Updated on: Tue, 25 June 2019 14:59] by Moderator Report message to a moderator
|
|
|
|
|
|
Re: Eclipse Installer error [message #1808498 is a reply to message #1808495] |
Tue, 25 June 2019 20:07 |
Eclipse User |
|
|
|
The jdk1.8.0_112 was from an earlier attempt I had made on my own after getting a message saying "Java version needed to run Eclipse Installer couldn't be found on your system." I went ahead and did a fresh install of both Java and Eclipse just a minute ago to where I am getting the same original issue. The cmd prompt of "C:\Program Files\Eclipse\eclipse-inst-win64.exe" -vm "C:\Program Files\Java\jdk-12.0.1\bin\java.exe" still gives me an error message of:
Internal Error: Could not initialize class org.eclipse.oomph.jreinfo.JREManager
Details:
Followed by:
-
Attachment: eclipse6.PNG
(Size: 6.92KB, Downloaded 1469 times) -
Attachment: Eclipse7.PNG
(Size: 51.54KB, Downloaded 1563 times) -
Attachment: eclipse8.PNG
(Size: 21.07KB, Downloaded 1543 times)
|
|
|
|
Re: Eclipse Installer error [message #1808536 is a reply to message #1808512] |
Wed, 26 June 2019 12:18 |
Eclipse User |
|
|
|
I wasn't able to get the installer menu to run at all, it would fail after downloading the eclipse.exe file. Downloading the .zip has seemed to work though. When I open it, it asks to select a directory as a workspace, is this correct?
I was able to grab the .log from the temporary file. It is pasted below, as well as attached on here.
(osgi.native.osname~=linux)(osgi.native.processor~=ppc64le))(&(osgi.native.osname~=linux)(osgi.native.processor~=x86))(&(osgi.native.osname~=linux)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=linux)(osgi.native.processor~=arm))(&(osgi.native.osname~=linux)(osgi.native.processor~=armel))(&(osgi.native.osname~=linux)(osgi.native.processor~=aarch64))(&(osgi.native.osname~=linux)(osgi.native.processor~=ia64))(&(osgi.native.osname~=linux)(osgi.native.processor~=sparcv9))(&(osgi.native.osname~=linux)(osgi.native.processor~=mips64el))(&(osgi.native.osname~=linux)(osgi.native.processor~=S390x))(&(osgi.native.osname~=freebsd)(osgi.native.processor~=x86))(&(osgi.native.osname~=freebsd)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=openbsd)(osgi.native.processor~=x86))(&(osgi.native.osname~=openbsd)(osgi.native.processor~=x86-64))(&(osgi.native.osname~=macosx)(|(osgi.native.processor~=x86)(osgi.native.processor~=x86-64)(osgi.native.processor~=ppc))))"
NLS missing message: ModuleResolutionReport_UnresolvedReq in: org.eclipse.osgi.internal.messages.ExternalMessagesImport-Package: com.sun.jna.platform.win32; version="[4.1.0,5.0.0)"
-> Export-Package: com.sun.jna.platform.win32; bundle-symbolic-name="com.sun.jna.platform"; bundle-version="4.5.1.v20180403-1933"; version="4.5.1"; uses:="com.sun.jna,com.sun.jna.platform,com.sun.jna.platform.win32.COM,com.sun.jna.ptr,com.sun.jna.win32"
com.sun.jna.platform [6]
NLS missing message: ModuleResolutionReport_UnresolvedReq in: org.eclipse.osgi.internal.messages.ExternalMessagesImport-Package: com.sun.jna; version="[4.5.1,4.6.0)"
-> Export-Package: com.sun.jna; bundle-symbolic-name="com.sun.jna"; bundle-version="4.5.1.v20180403-1933"; version="4.5.1"
NLS missing message: ModuleResolutionReport_UnresolvedReq in: org.eclipse.osgi.internal.messages.ExternalMessagesImport-Package: com.sun.jna.ptr; version="[4.5.1,4.6.0)"
-> Export-Package: com.sun.jna.ptr; bundle-symbolic-name="com.sun.jna"; bundle-version="4.5.1.v20180403-1933"; version="4.5.1"; uses:="com.sun.jna"
at org.eclipse.osgi.container.Module.start(Module.java:457)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$1.run(ModuleContainer.java:1820)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$2$1.execute(EquinoxContainerAdaptor.java:150)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1813)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1769)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1735)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1661)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
!ENTRY org.eclipse.oomph.setup.installer 4 0 2019-06-25 15:58:26.169
!MESSAGE Could not initialize class org.eclipse.oomph.jreinfo.JREManager
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.oomph.jreinfo.JREManager
at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.createContent(SimpleVariablePage.java:344)
at org.eclipse.oomph.setup.internal.installer.SimpleInstallerPage.<init>(SimpleInstallerPage.java:91)
at org.eclipse.oomph.setup.internal.installer.SimpleVariablePage.<init>(SimpleVariablePage.java:267)
at org.eclipse.oomph.setup.internal.installer.SimpleInstallerDialog.createUI(SimpleInstallerDialog.java:254)
at org.eclipse.oomph.setup.internal.installer.AbstractSimpleDialog.show(AbstractSimpleDialog.java:139)
at org.eclipse.oomph.setup.internal.installer.InstallerApplication.run(InstallerApplication.java:250)
at org.eclipse.oomph.setup.internal.installer.InstallerApplication.start(InstallerApplication.java:408)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
|
|
|
Re: Eclipse Installer error [message #1808572 is a reply to message #1808536] |
Thu, 27 June 2019 02:45 |
Ed Merks Messages: 33252 Registered: July 2009 |
Senior Member |
|
|
It's all very mysterious. It looks like the OSGi framework is failing to load JNI (Java Native Interface). E.g., even eclipse.ecf.provider.filetransfer.httpclient45.win32 appears to have failures starting/loading. The JREManager uses JREInfo which has a JNI fragment for reading the system registry (to find all your Java installations), and that appears to not work either. But I tried installing JDK 12.0.1 on my machine and am able to run the installer with that version of Java and no log file is produced, so there doesn't appear to be anything problematic about that JDK implementation in and of itself.
If downloading the zip works, then yes, it will first prompt for a workspace directory before launching. I fear though that once launched it's likely to fail the same way as the installer (because the installer is just an Eclipse application), but if that works, then at least you can get started an avoid this problem because I'm at a loss for what else to suggest (other than specifying the -vm argument to use a different JDK)...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.09405 seconds