?
Solved

Problem to start Neon

Posted on 2016-11-04
20
Medium Priority
?
171 Views
Last Modified: 2016-11-09
Hi,
How to resolve problem below, within CentOS?
9l.png
0
Comment
Question by:HuaMinChen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 7
  • 4
  • +1
20 Comments
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 41873601
Did this work before?
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 41873613
Hi,
It is 1st time to try this application on CentOS.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 41873750
java -version

Open in new window


prints what?
0
Setting up LaraDock for Laravel

Learn how to set up LaraDock in a Laravel project - LaraDock gives us an easy way to run a Laravel application using Docker in a single command.

 
LVL 1

Expert Comment

by:Saurav Sarkar
ID: 41873755
Your eclipse java version is not compliant with your OS.

Check whether the bitness of your OS match with your eclipse Java version
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 41876121
CEHJ,

Here is what I get
9m.png
Saurav,
How to check that?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 41876152
Uninstall that and install the latest 64 bit JRE.
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 41876520
Thanks.
Can you please advise to this?
9n.png
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 41876693
Don't use "rm -r" to remove installed software on Linux. Why do you do that?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 41876710
You need to learn how to use your package manager for CentOS
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 41876716
CEHJ,
Can I have more details to your suggestion?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 41876719
Well it's not really in the scope of this TA - you need to look into the docs for your distro. I've always greatly preferred Debian packaging over rpms, so have never learned the latter. And - i don't know CentOS
I could work with you on it, but it would have to be a Live event
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 41876761
Hi,
CentOS is also Red hat, right? Can you please help to resolve the current doubt?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 41877255
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 41877341
Sorry, any other help to this thread?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 41877381
Do you understand that you need to understand the OS you're using?
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 41878063
Hi,
I know CentOS is developed from Red Hat and I need to resolve such problem to Eclipse Neon.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 41878239
Your immediate problem is not really to do with Eclipse - it's to do with the following

a. listing the versions of Java available in your package manager
b. using that package manager to get the latest versions

You want to get into your car - your goal is to go to some place. Your problem is that you haven't learned to drive properly yet. There are two solutions
a. learn to drive quickly
b. pay a chauffeur to drive for you
1
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 2000 total points
ID: 41879427
yum is the package manager for CentOS, what's the output of:

#yum list | grep -i jdk

and:

#yum list | grep -i jre
0
 
LVL 11

Author Comment

by:HuaMinChen
ID: 41879931
Gerwin,
Here are what I get
9p.png
Here are what I have
9s.png
Why do I still get this below?
9r.png
0
 
LVL 38

Assisted Solution

by:Gerwin Jansen, EE MVE
Gerwin Jansen, EE MVE earned 2000 total points
ID: 41880061
You have selected JDK 1.8 - this is OK.

You may add a JAVA_HOME variable and add it to your PATH. Check what you already have in your ~/.bash_profile

You need:

JAVA_HOME=/usr/lib/jvm/jre-1.8.0-openjdk.x86_64
export JAVA_HOME

PATH=${PATH}:${JAVA_HOME}:${JAVA_HOME}/bin
export PATH

Verify that you don't have multiple java home variables and no multiple locations in PATH where java resides.
1

Featured Post

RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses
Course of the Month9 days, 18 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question