[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

eclipse compiler vs Installed JREs option

Posted on 2016-10-27
3
Medium Priority
?
165 Views
Last Modified: 2016-11-04
Hi,

what is difference between eclipse compiler vs Installed JREs options under ecipse -->windows--->preferences.

can you give jdk1.8 at both places? or can i give one place jdk 1.6 and other place jdk1.8.
Do i need to give only jre under installed jre and jdk under compiler drop down of eclipse?
How MyComputer--> advanced Variables JAVA_HOME and PATH and M2_HOMe are different?

why it shows different java version to me as below from java -version and mvn --version??

C:\>java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

C:\>mvn --version
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_45
Java home: C:\Program Files\Java\jdk1.6.0_45\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"
C:\>



please advise
0
Comment
Question by:gudii9
[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
  • 2
3 Comments
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 2000 total points
ID: 41866510
There is no difference. Path settings determine what you see. Windows has path settings, so does eclipse.
0
 
LVL 7

Author Comment

by:gudii9
ID: 41867347
but selecting JDK1.8 from JRE1.8 from ecipse -->windows--->preferences-->installed JREs  is seemingly solving some issues which i do not remember. I wonder how jdk not jre  helping better?
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 41867390
JDK is what you normally use to build software, hence Java Development Kit. JRE is the runtime. If you can't remember what has been solved then this is as much as I can advise you with now.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

649 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