Created
November 9, 2012 17:02
-
-
Save masayukig/4046875 to your computer and use it in GitHub Desktop.
Getting CrashPlan to work on Mac after JDK 1.7 upgrade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/com.crashplan.engine.plist b/com.crashplan.engine.plist | |
index d536a84..d189347 100644 | |
--- a/com.crashplan.engine.plist | |
+++ b/com.crashplan.engine.plist | |
@@ -22,7 +22,7 @@ | |
<string>/Applications/CrashPlan.app/Contents/Resources/Java</string> | |
<key>ProgramArguments</key> | |
<array> | |
- <string>/usr/bin/java</string> | |
+ <string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string> | |
<string>-Dapp=CrashPlanService</string> | |
<string>-Xmn10m</string> | |
<string>-Xms15m</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.ExceptionInInitializerError | |
at com.code42.os.mac.io.IOPolicy.setIoPolicy(IOPolicy.java:69) | |
at com.backup42.service.CPService.start(CPService.java:383) | |
at com.backup42.service.CPService.main(CPService.java:1622) | |
Caused by: com.jniwrapper.LibraryNotFoundException: Cannot find JNIWrapper native library (libjniwrap.jnilib) in java.library.path: /var/root/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.:/Applications/CrashPlan.app/Contents/Resources/Java/lib |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist | |
sudo launchctl load /Library/LaunchDaemons/com.crashplan.engine.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Worked for me as well, thanks @masayukig!