Bug 1853110 - Unable to run any java program in Eclipse
Summary: Unable to run any java program in Eclipse
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: 32
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Mat Booth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-02 01:53 UTC by Parminder Lehal
Modified: 2020-09-04 09:03 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-04 09:03:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.