Link to home
Create AccountLog in
Avatar of chima
chima

asked on

Eclipse Neon and jdk 1.8.0

Hello,
If I move the jdk 1.8.0 into the C:\eclipse\ directory; C:\eclipse\jdk 1.8.0 and edit my PATH variable accordingly, will this work?
It should.
Is there a strong argument why I should not do this?
Thanks
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Why would you do that? Programs should be kept separately in a directory off the correct location (C:\Program Files)
SOLUTION
Avatar of Am P
Am P
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of chima
chima

ASKER

cehj and panchal, In answer to cehj question; I asked because I forgot to set up jdk and when I ran eclipse it stated that it could not find the jre and it showed a directory within eclipse that it was expecting to find it.  This is the first time that i had seen that and thought that the process of working with eclipse has changed.  I have placed it in the C:\Programs Fies
Others have it in C:\Software  with the benefit of being able to easily move it to other drives.
with the benefit of being able to easily move it to other drives
How would having it in a different directory off the system root make it more portable?
Avatar of chima

ASKER

cehj, don't know, its just what I read "on the internet."

I got an add on to this question; I thought I did not need the jre if I use the jdk.  I have set the jdk, but now eclipse wants the jre.  I can provide it, yet why would it need both?
Avatar of chima

ASKER

The eclipse 1.8.0_102 is on the C:/ drive; C:\eclipse
When I run the eclipse executable, I get this; (please see attached file)
windows-7-eclipse-1.8.0_102-set-up.docx
Avatar of chima

ASKER

Please see and help with problem as stated in the file above.  I just noticed that the registry values are shown here;
User generated image
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of chima

ASKER

cehj, thanks!  The only difference, and i can't recall having to do this with past eclipse releases; is that I can only start it with my admin account.  Why?  
Could I change it to my regular account?  
Would I want to change it?
is that I can only start it with my admin account.  Why?
Maybe the scope of the environment variable(s)? JAVA_HOME and PATH should be system vars, not user
Avatar of chima

ASKER

cehj, I'll open another question with the last concern about the Admin access.  Maybe someone else might have a solution.