I am trying to install Jira which requires java JDK. I installed the latest Java JDK and it says it was successfully installed. However I get an error:
Unable to locate an executable at “/usr/bin/java/bin/java” (-1)
when I try to install Jira (see this post)
the answers to that question do not work for me (setting
JAVA_HOME), so what exactly should I do?
which version of JDK did you install, from where?
- latest and from oracle
What does file /usr/bin/java return (and if it is a symlink, where does it point to)?
/usr/bin/java: Mach-O universal binary with 2 architectures:[x86_64:Mach-O 64-bit executable x86_64] [i386:Mach-O executable i386] /usr/bin/java (for architecture x86_64): Mach-O 64-bit executable x86_64 /usr/bin/java (for architecture i386): Mach-O executable i386
What is in /System/Library/Frameworks/JavaVM.framework/Versions
- What is in /System/Library/Frameworks/JavaVM.framework/Versions/Current/
- What is in /Library/Java/JavaVirtualMachines/`