Ask Your Question
0

Eclipse and openjdk on Fedora 24

asked 2016-08-25 17:53:09 -0600

juradx gravatar image

I am a new Fedora user. I installed Eclipse neon using Software center. However I can't see "Java" option under "Window / Preferences" on Eclipse. I can't use Java.

I haven't installed Oracle JDK as it seems openjdk is installed on my system by default. So I decided to use openjdk if I can but I could not manage Eclipse to recognize it.

$ sudo yum install java-1.8.0-openjdk-devel 
Package java-1.8.0-openjdk-devel-1:1.8.0.91-7.b14.fc24.x86_64 is already installed, skipping.

and...

$ java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

How can I use openjdk with Eclipse?

edit retag flag offensive close merge delete

Comments

hello , i was asking me why these commands was not working

java --version
java -v

Thanks for the right commands

java -version
christianbueno gravatar imagechristianbueno ( 2017-10-15 17:26:34 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-08-25 18:07:10 -0600

juradx gravatar image

I realized that "Eclipse Java Development Tools" is required to be installed separately.

The following command solved this issue:

$ sudo dnf install eclipse-jdt
edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-08-25 17:49:22 -0600

Seen: 958 times

Last updated: Aug 25 '16