Can't add data source in Autopsy

I’m able to load Autopsy after running in terminal but I assume the data source issue is from unable to locate Java?

bin % ./autopsy

The operation couldn’t be completed. Unable to locate a Java Runtime that supports (null).

Please visit for information on installing Java.

Temp Folder for Libraries: /var/folders/jt/qqbfm__56xjcx4t7p2g7x1s40000gn/T

SleuthkitJNI: loaded libtsk_jni

Also get two errors in autopsy: java.lang.NoClassDefFoundError: Could not initialize class$DefaultSSlContext

java.lang.ExceptionInInitializerError exception has occured

Try adding the data source as Logical instead of Image.