Derek Hannah
Derek Hannah

Reputation: 547

MFP CLI 7.1 and El Capitan

So i upgraded to El Capitan, this version of OSX no longer ships with jdk 1.6.0 in the in the /System/Library/Java/JavaVirtualMachines folder, and installs new java versions in /Library/java/JavaVirtualMachines

I get this error when I try to mfp status

/Users/hannade/.ibm/mobilefirst/7.1.0.00.20151130-1648/server/wlp/bin/server: line 777: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java: No such file or directory

Upvotes: 1

Views: 63

Answers (1)

Idan Adar
Idan Adar

Reputation: 44516

What is set as your JAVA_HOME environment variable? Run echo $JAVA_HOME in Terminal to verify. Make sure it is set to the Java version that you have installed.

You can probably set it either in ~/.bash_profile or by using a tool such as EnvPne.

Upvotes: 1

Related Questions