Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

Problem to start Neon

Hi,
How to resolve problem below, within CentOS?
9l.png
0
HuaMinChen
Asked:
HuaMinChen
  • 8
  • 7
  • 4
  • +1
2 Solutions
 
Gerwin Jansen, EE MVETopic Advisor Commented:
Did this work before?
0
 
HuaMinChenBusiness AnalystAuthor Commented:
Hi,
It is 1st time to try this application on CentOS.
0
 
CEHJCommented:
java -version

Open in new window


prints what?
0
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

 
Saurav SarkarSoftware architectCommented:
Your eclipse java version is not compliant with your OS.

Check whether the bitness of your OS match with your eclipse Java version
0
 
HuaMinChenBusiness AnalystAuthor Commented:
CEHJ,

Here is what I get
9m.png
Saurav,
How to check that?
0
 
CEHJCommented:
Uninstall that and install the latest 64 bit JRE.
0
 
HuaMinChenBusiness AnalystAuthor Commented:
Thanks.
Can you please advise to this?
9n.png
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
Don't use "rm -r" to remove installed software on Linux. Why do you do that?
0
 
CEHJCommented:
You need to learn how to use your package manager for CentOS
0
 
HuaMinChenBusiness AnalystAuthor Commented:
CEHJ,
Can I have more details to your suggestion?
0
 
CEHJCommented:
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
 
HuaMinChenBusiness AnalystAuthor Commented:
Hi,
CentOS is also Red hat, right? Can you please help to resolve the current doubt?
0
 
CEHJCommented:
0
 
HuaMinChenBusiness AnalystAuthor Commented:
Sorry, any other help to this thread?
0
 
CEHJCommented:
Do you understand that you need to understand the OS you're using?
0
 
HuaMinChenBusiness AnalystAuthor Commented:
Hi,
I know CentOS is developed from Red Hat and I need to resolve such problem to Eclipse Neon.
0
 
CEHJCommented:
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
 
Gerwin Jansen, EE MVETopic Advisor Commented:
yum is the package manager for CentOS, what's the output of:

#yum list | grep -i jdk

and:

#yum list | grep -i jre
0
 
HuaMinChenBusiness AnalystAuthor Commented:
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
 
Gerwin Jansen, EE MVETopic Advisor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 8
  • 7
  • 4
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now