Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

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