0

Trying to execute selenium driver I found that I have an old version of Java. I downloaded the last version from java.com: https://www.java.com/en/download/mac_download.jsp Everything went fine and I can see Java on my system preferences and it says is up to date. Although if I run java -version on the command line i get:

java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode) 

Any ideas? Thanks!

9
  • Its pointing to the wrong installation i guess. what does which java output? Commented Sep 3, 2015 at 11:08
  • 1
    stackoverflow.com/a/24657630/3850595 Commented Sep 3, 2015 at 11:12
  • @JordiCastilla tried to do that, but I don't get the 1.8 version in the list Commented Sep 3, 2015 at 11:23
  • that's because location in OSX changed from java 6 to next releases when distributor changed. a) Please check this extended discussion in SuperUser.com and b) Oracle installation docs Commented Sep 3, 2015 at 11:27
  • Guau, that seems quite complicated... I only need to update my java version from 1.6 to 1.8. Do I seriously have to go through to all that just to make it java 1.8 work? Commented Sep 3, 2015 at 12:56

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.