Bug 1853110

Summary: Unable to run any java program in Eclipse
Product: [Fedora] Fedora Reporter: Parminder Lehal <plehal>
Component: eclipseAssignee: Mat Booth <mat.booth>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 32CC: akurtako, andjrobins, dbhole, ebaron, eclipse-sig, jerboaa, jjohnstn, lef, mat.booth, rgrunber
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-04 09:03:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Parminder Lehal 2020-07-02 01:53:14 UTC
Description of problem:

Unable to launch any java program in eclipse. Even exporting the java program in any format does not work.
Version-Release number of selected component (if applicable):


How reproducible:

100%

Steps to Reproduce:
1. Try running any program
2.
3.

Actual results: Program run fails with the following error dialog:

An internal error occurred during: "Creating console for /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-1.fc32.x86_64/bin/java (Jul 1, 2020, 9:52:24 PM)".
java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer;

Expected results:
Program should run.

Additional info:
uname output :Linux fed32.xxxxxx.com 5.6.19-300.fc32.x86_64 #1 SMP Wed Jun 17 16:10:48 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Comment 1 Parminder Lehal 2020-07-02 01:55:03 UTC
eclipse-platform-4.15-5.module_f32+8555+6b76193d.x86_64
eclipse-emf-xsd-2.21.0-1.module_f32+8422+d2b9781b.noarch
eclipse-webtools-sourceediting-3.15.0-4.module_f32+8422+d2b9781b.noarch
eclipse-webtools-common-3.15.0-4.module_f32+8422+d2b9781b.noarch
eclipse-swt-4.15-5.module_f32+8555+6b76193d.x86_64
eclipse-pde-4.15-5.module_f32+8555+6b76193d.x86_64
eclipse-jgit-5.7.0-1.module_f32+8422+d2b9781b.noarch
eclipse-emf-core-2.21.0-1.module_f32+8422+d2b9781b.noarch
eclipse-emf-runtime-2.21.0-1.module_f32+8422+d2b9781b.noarch
eclipse-webtools-servertools-3.15.0-4.module_f32+8422+d2b9781b.noarch
eclipse-equinox-osgi-4.15-5.module_f32+8555+6b76193d.x86_64
eclipse-gef-3.11.0-12.module_f32+8422+d2b9781b.noarch
eclipse-webtools-javaee-3.15.0-4.module_f32+8422+d2b9781b.noarch
eclipse-egit-5.7.0-2.module_f32+8555+6b76193d.noarch
eclipse-usage-4.13.0-1.module_f32+8422+d2b9781b.noarch
eclipse-ecf-core-3.14.7-1.module_f32+8422+d2b9781b.noarch
eclipse-jdt-4.15-5.module_f32+8555+6b76193d.noarch

installed rpms.

Comment 2 Mat Booth 2020-09-04 09:03:31 UTC
Unfortunately I have to discontinue support for the Eclipse module. This problem is fixed in Eclipse from the main repositories. You can switch back to the main repository version of Eclipse like this:


$ sudo dnf module remove eclipse
$ sudo dnf module disable eclipse
$ sudo dnf install eclipse eclipse-egit eclipse-m2e-core java-11-openjdk-devel

Sorry for the inconvenience.