How to Change Redhat OpenJDK version name to make Eclipse run without an error?

Posted on

I have installed Redhat OpenJDK into my computer, now when I am opening the Eclipse IDE I am having the issue.

java.lang.NumberFormatException: For input string: "201-2-redhat"

How to Change Redhat OpenJDK version name to make Eclipse run without an error?

Below is the log:
!SESSION 2019-04-29 11:46:15.415 -----------------------------------------------
eclipse.buildId=4.9.0.I20180906-0745
java.version=1.8.0_201-2-redhat
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_CA
Framework arguments: -product com.rapidclipse.ide.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.rapidclipse.ide.product

!ENTRY org.eclipse.osgi 4 0 2019-04-29 11:46:18.179
!MESSAGE Application error
!STACK 1
java.lang.NumberFormatException: For input string: "201-2-redhat"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at com.rapidclipse.application.VMCheck.checkJavaVersion(VMCheck.java:64)
at com.rapidclipse.application.VMCheck.check(VMCheck.java:17)
at com.rapidclipse.application.RapidclipseApplication.start(RapidclipseApplication.java:112)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:199)
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:391)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
at org.eclipse.equinox.launcher.Main.run(Main.java:1501)

Error
Log

Responses