Press "Enter" to skip to content

Posts tagged as “java”

Crashplan on Linux Mint 17

Installing Crashplan on Linux Mint (17) is a pretty straight forward deal… just install and accept the defaults.

Getting to to run is another story,

#1 the Crashplan agent requires Oracle Java, Mint ships with OpenJDK (as does CentOS 6.x).

To install for Mint (64bit) do the following:

Remove OpenJDK
# sudo apt-get update && apt-get remove openjdk-6-jre
# sudo apt-get autoremove && apt-get clean

Download JRE from Oracle (http://www.java.com/)
In this example 1.7.0.67 was used.

# sudo mkdir -p -v /opt/java/64
# cd ~/Downloads (or wherever your downloaded to)
# tar -zxvf jre-7u67-linux-x64.tar.gz
# sudo mv -v jre1.7.0_* /opt/java/64

# sudo update-alternatives –install “/usr/bin/java” “java” “/opt/java/64/jre1.7.0_67/bin/java” 1
# sudo update-alternatives –set java /opt/java/64/jre1.7.0_67/bin/java

Setup the Firefox plugin:
# mkdir -v ~/.mozilla/plugins
# ln -s /opt/java/64/jre1.7.0_67/lib/amd64/libnpjp2.so ~/.mozilla/plugins/

Modify the contents of /usr/local/crashplan/bin/run.conf to match below:

SRV_JAVA_OPTS=”-Dfile.encoding=UTF-8 -Dapp=CrashPlanService -DappBaseName=CrashPlan -Xms20m -Xmx512m -Djava.net.preferIPv4Stack=true -Dsun.net.inetaddr.ttl=300 -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -Dc42.native.md5.enabled=false”
GUI_JAVA_OPTS=”-Dfile.encoding=UTF-8 -Dapp=CrashPlanDesktop -DappBaseName=CrashPlan -Xms20m -Xmx512m -Djava.net.preferIPv4Stack=true -Dsun.net.inetaddr.ttl=300 -Dnetworkaddress.cache.ttl=300 -Dsun.net.inetaddr.negative.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -Dc42.native.md5.enabled=false -Dorg.eclipse.swt.browser.DefaultType=mozilla”

Now Crashplan will launch.