I was trying to install the latest version of java on my mac, but there are some compatibility issues and I turned to this forum https://oliverdowling.com.au/2015/10/09/oracles-jre-8-on-mac-os-x-el-capitan/
- I typed in all of the necessary lines of code and my desktop and all my files were still in tact
- Once I restarted my computer, I had noticed that my login picture with my face was missing
- It booted up to the desktop and all of my files (files on desktop, photos, iMessages, downloads, movies, and music vanished)
- However, my storage in the "About This Mac" section was the same (FYU there is no guest account)
- Also, my all of my applications and bookmarks are still there.
Terminal Commands:
1. cd ~/Downloads
2. tar -xzf `ls -1r jre-*-macosx-x64.tar.gz | head -1`
3. cd `ls -1rd jre*/ | head -1`
4. defaults write `pwd`/Contents/Info.plist JavaVM -dict-add 'JVMCapabilities' '<array><string>JNI</string><string>BundledApp</string><string>CommandLine</string></array>'
5. plutil -convert xml1 Contents/Info.plist
6. mkdir -p Contents/Home/bundle/Libraries
7. ln -s Contents/Home/jre/lib/server/libjvm.dylib Contents/Home/bundle/Libraries/libserver.dylib
8. sudo mv `pwd` /Library/Java/JavaVirtualMachines/
PLEASE CAN SOMEONE HELP??? THANK YOU SO MUCH IN ADVANCE!
- I typed in all of the necessary lines of code and my desktop and all my files were still in tact
- Once I restarted my computer, I had noticed that my login picture with my face was missing
- It booted up to the desktop and all of my files (files on desktop, photos, iMessages, downloads, movies, and music vanished)
- However, my storage in the "About This Mac" section was the same (FYU there is no guest account)
- Also, my all of my applications and bookmarks are still there.
Terminal Commands:
1. cd ~/Downloads
2. tar -xzf `ls -1r jre-*-macosx-x64.tar.gz | head -1`
3. cd `ls -1rd jre*/ | head -1`
4. defaults write `pwd`/Contents/Info.plist JavaVM -dict-add 'JVMCapabilities' '<array><string>JNI</string><string>BundledApp</string><string>CommandLine</string></array>'
5. plutil -convert xml1 Contents/Info.plist
6. mkdir -p Contents/Home/bundle/Libraries
7. ln -s Contents/Home/jre/lib/server/libjvm.dylib Contents/Home/bundle/Libraries/libserver.dylib
8. sudo mv `pwd` /Library/Java/JavaVirtualMachines/
PLEASE CAN SOMEONE HELP??? THANK YOU SO MUCH IN ADVANCE!
Attachments
Last edited: