← Back to team overview

syncany-team team mailing list archive

Re: I need your help (some statistics about the user data, takes 2min)!

 

Hi Paulo,

you have to compile it first with "java*c* FileTreeStatCSV.java" and then
run it without the ".java" at the end: "java FileTreeStatCSV /some/folder".

Cheers,
Philipp

On Sat, Aug 6, 2011 at 1:01 AM, Paulo de Souza Lima <
paulo.s.lima@xxxxxxxxxxx> wrote:

> Hi Philipp.
>
> I've tried to run it, but I ends in an error message:
>
> paulo@pegasus:~/Dropbox$ java FileTreeStatCSV.java
> Exception in thread "main" java.lang.NoClassDefFoundError:
> FileTreeStatCSV/java
> Caused by: java.lang.ClassNotFoundException: FileTreeStatCSV.java
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
>  at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> Could not find the main class: FileTreeStatCSV.java. Program will exit.
> paulo@pegasus:~/Dropbox$
>
> Despite the fact the file `FileTreeStatCSV.java` is in the folder where I
> run the program... =(
>
> Cheers
>
> 2011/8/5 Philipp Heckel <philipp.heckel@xxxxxxxxx>
>
>> Hi everyone!!
>>
>> As part of my Master thesis, I am trying to minimize the disk space that
>> Syncany uses on the remote storage. To get the better results when
>> deduplicating the user's files, it would be very helpful to know what type
>> of files Syncany mostly has to deal with.
>> I wrote a small java program to make some stats. Here's a detailed
>> explanation: http://syncany.org/thesis
>> It only *takes 2 minutes*, is completely anonymous and would really help
>> me to make Syncany better/work!
>>
>> Cheers
>> Philipp
>>
>> --
>> Mailing list: https://launchpad.net/~syncany-team
>> Post to     : syncany-team@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~syncany-team
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Paulo de Souza Lima
> Técnico em Eletrônica e Administrador
> http://www.pasl.net.br
> http://almalivre.wordpress.com
> Curitiba - PR
> Linux User #432358
> Ubuntu User #28729
>
> "Para que as pessoas conquistem a paz em suas relações, a paz espiritual e
> a paz entre os povos, é preciso que antes se ganhe a batalha interna das
> virtudes sobre os defeitos" - Talal Husseini - Filósofo Acropolitano
>
> "For people to achieve peace in their relationships, spiritual peace and
> the peace among people, it's necessary, earlier, to win the internal battle
> between virtues and defects" - Talal Husseini - Acropolitan Philosopher
>
>

References