After trying Peter's suggestion the problem persisted but now in another context : "/System/Library/Frameworks/JavaVM.framework" does not contain the JNI_CreateJavaVM symbol"
After struggling for many hours, and reading about people with the same issue opting to re-install the entire OS , decided to examine the issue from another perspective, the thing I first mentioned here that I believe went unnoticed was that I restored my permissions before this happening, so what I did was the following.
- After reading a bunch of articles about Apple no longer providing Java support themselves but Oracle providing it, reasoned through it and realized that perhaps paths (Often called directories) from Apple's final Java release may have not been strictly the same as the new Oracle releases, so decided to wipe out all recent Oracle Java Runtime Environment that I found on
/Library/Java/JavaVirtualMachines
and delete the Java Applet Plugin from /Applications (Just search for it on your /Applications path) . - Installed Apple's last stable release from the following link.
- Located where Apple located their Java releases :
/System/Library/Frameworks/
- My particular interest was the Java Runtime Environment , so I explored the
JavaVM
directory on/System/Library/Frameworks/
- Found out that all Apple's JRE previous releases reside on a directory called
Versions
that is within/System/Library/Frameworks/JavaVM.framework
directory, here's where I noticed something rare, for some reason at the moment I restored file permissions from my Disk Utility Application , this directory was made inaccessible (By not giving the root user permissions to access anything in itself). - Went to my terminal console and inside the
JavaVM.framework
directory modified the permissions to that directory to be accessible for all users by running the following commandchmod -R 777 Versions
.
After executing these actions I went straight to my JRE-Required software and attempted to open it , success!
Things to learn from the issue.
- Oracle's Java JDK/JRE are located in different paths from Apple's. (If you are struggling with some other issue, verify your Java version to determine your Java installation directory)
- Apple's disk utility application might define different permissions than expected for some files. (After restoring permissions verify that everything's working fine, if not this may be the cause of your problems.)