0

When trying to install play 2.2.2 and running it, an error apperas:

/Users/NoePodesta/play-2.2.0/play: line 70: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/bin/java: No such file or directory

What is wrong here??

I have already set this in the .bashrc

export PATH=$PATH:/Users/xxxx/play-2.2.0  
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk

Thanks

  • 1
    Try to close and open terminal again and then use `java -version` and `javac -version` commands to verify that paths to Java are OK – biesior Apr 05 '14 at 15:31
  • I already do that, and it ok. – user3501451 Apr 05 '14 at 15:32
  • 1
    what does comman `echo $JAVA_HOME` say ? – biesior Apr 05 '14 at 15:45
  • echo $JAVA_HOME says /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk – user3501451 Apr 05 '14 at 21:15
  • It's wrong, it should point the folder... anyway try to remove this line from your bash file, Play script will try use `java` command instead, so it should point correctly to installed version with no problem (OSX Mavericks here) – biesior Apr 06 '14 at 20:33
  • If delete this line, instead it says: `/Users/NoePodesta/play-2.2.0/play: line 70: /Library/Java/Home/bin/java: No such file or directory` – user3501451 Apr 07 '14 at 02:03

0 Answers0