CrashPlan with JDK 8

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Re: CrashPlan with JDK 8

Postby dhead666 » Fri Mar 08, 2013 2:39 pm

I've added info about enlarging the inotify watch limit.
Edit: I've made another update to include info about limiting the memory consumption.
Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm

Re: CrashPlan with JDK 8

Postby marbletravis » Sun Mar 24, 2013 4:41 pm

I am getting the same error as jeanlouiejam. I am trying to run this not on a raspberry pi, but on a pogoplug. Should work the same right?

Any help is much appreciated.

Jeanlouiejam, did you ever get your fixed?
marbletravis
 
Posts: 15
Joined: Thu Feb 21, 2013 4:50 am

Re: CrashPlan with JDK 8

Postby dhead666 » Tue Mar 26, 2013 8:32 pm

@marbletravis, you really don't want to run CrashPlan with less than 512MB RAM.
Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm

Re: CrashPlan with JDK 8

Postby marbletravis » Tue Mar 26, 2013 11:33 pm

I have been running it for about a year on a dockstar with jdk6.

I am trying to setup another on an E02 (I think its an E02), but jdk 7 in the repo isn't working so I figured I would try jdk 8 as this thread suggested.

Any ideas on getting one or the other (8 or 7) to work?

I do have a separate thread for the jdk 7 issue

viewtopic.php?f=15&t=5282

Thanks,
Travis
marbletravis
 
Posts: 15
Joined: Thu Feb 21, 2013 4:50 am

Re: CrashPlan with JDK 8

Postby dhead666 » Thu Mar 28, 2013 3:52 pm

$this->bbcode_second_pass_quote('marbletravis', 'I') am getting the same error as jeanlouiejam. I am trying to run this not on a raspberry pi, but on a pogoplug. Should work the same right?

Any help is much appreciated.

Jeanlouiejam, did you ever get your fixed?


Have you seen my answer to Jeanlouiejam ?
He didn't returned to confirm my suggestion but I believe he encounter the error because he didn't entered (not sure about this term) to the installation folder and run the script from there.
Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm

Re: CrashPlan with JDK 8

Postby stuckwi » Sat May 11, 2013 5:52 am

@dhead666
I am trying your script on a pogoplug E02 and also experiencing the same issues as the others:
$this->bbcode_second_pass_code('', 'Validating environment...
detected root permissions
49521 blocks
./install.sh: line 154: /opt/jdk1.8.0/bin/java: No such file or directory
The current version of Java () is incompatible with CrashPlan.
Please install one of the following version of the Sun JRE or OpenJDK: 1.5 1.6 1.7 1.8')
I am certain I am in the CrashPlan-install directory when I run
$this->bbcode_second_pass_code('', './install.sh')
Do you have any hints...
the ownership/group of everything in jdk1.8.0 folder shows this, I wonder if the ownership is an issue
$this->bbcode_second_pass_code('', 'drwxr-xr-x 2 10 143 4096 Nov 30 00:33 bin
-r--r--r-- 1 10 143 3339 Nov 30 00:33 COPYRIGHT
drwxr-xr-x 4 10 143 4096 Nov 30 00:33 db
drwxr-xr-x 3 10 143 4096 Nov 30 00:33 include
drwxr-xr-x 4 10 143 4096 Nov 30 00:33 jre
drwxr-xr-x 3 10 143 4096 Nov 30 00:33 lib
-r--r--r-- 1 10 143 40 Nov 30 00:33 LICENSE
drwxr-xr-x 4 10 143 4096 Nov 30 00:33 man
-r--r--r-- 1 10 143 22272 Nov 30 00:33 README.html
-rw-r--r-- 1 10 143 94 Nov 30 00:33 release
-r--r--r-- 1 10 143 172135 Nov 30 00:33 THIRDPARTYLICENSEREADME.txt')
update, changing ownership of everything in that folder to root doesn't fix it...
stuckwi
 
Posts: 4
Joined: Sat May 11, 2013 5:43 am

Re: CrashPlan with JDK 8

Postby dhead666 » Sun May 12, 2013 12:54 pm

@stuckwi,

I'm not sure why this issue is arising with pogoplug (or armv5) this works fine with raspberry.
My guess is that the java engine for armv5 is different from the standard one, if you'll look in the script you'll notice that the compatible engines HotSpot and OpenJDK.

A quick and dirty solution will be to edit the installation script to avoid the java check, I recommend you trying to understand what you're removing so you won't end with a corrupt installation.
Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm

Re: CrashPlan with JDK 8

Postby stuckwi » Sun May 12, 2013 3:09 pm

Thanks dhead666
I played around with the JDK 8 installation several times, and I think you're right about the JDK8 not being compatible with Armv5. I finally had to go with a JDK 7 install from oracle to to get crashplan to start up...
Now I'm off to see what the performance is like.
Thanks for your help... I wish I had bough a Rpi instead...
stuckwi
 
Posts: 4
Joined: Sat May 11, 2013 5:43 am

Re: CrashPlan with JDK 8

Postby dhead666 » Tue May 14, 2013 8:16 pm

Just tried to install CrashPlan with JDK 8 on PogoPlug Series 4 and it was an epic fail.
I've edit the installation script to skip the Java check, this wasn't a good idea as the script probably fails because JDK 8 preview is only intended for armhf.
The error message "-bash: /opt/jdk1.8.0/bin/java: No such file or directory" is because java cannot be execute on armv5, just run "java -version" to confirm this.

So no go for Oracle's JDK 8, but openjdk should work.
Anyway I don't think this is a good idea to run CrashPlan with probably less then 80MB free, the Raspberry Pi is a better choice and also the pcDuino with 1GB ram.
Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 26 guests