Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

Compiling Freenet

May 9, 2014 3:11AM PDT

Hello people

For already a while now, I am trying to compile Freenet.

For those of you who do not know Freenet; Freenet is one of the "darknet"/privacy tools, others like it include TOR, Retroshare, i2p, Meshnet, and a couple others as well.

On the whole Internet, I could only find three tutorials, two clearnet, and one darknet

These are the links to the clearnet ones:

1. http://kkpradeeban.blogspot.nl/2014/03/building-freenet-from-source-on-windows.html
2. https://old-wiki.freenetproject.org/FreenetSourceCompiling


The deepweb one was from Freenet itself actually (found using linkageddon)

I am absolutely sure there are no other tutorials around, I searched with Google the clearnet, with TorFind, TorSearch, and TORCH the onion deepweb, and with linkageddon and nerdageddon Freenet itself

As you can see, I want to get my own self-compiled Freenet quite badly

This is the furthest I have come (until now):
~ I have figured what of the Ant compiler's files must be placed in the Freenet source code map
~ I have figured out that there should be a file named "override.properties", containing the text "lib.contrib.get = true", and that if there is not one already there, that I should than create it
~ I have figured out that I need to get the Bouncycastle library,
~ And finally I have also figured out that I need to get the Junit library,

And here are my problem, the things I need help with:
~ I do not really understand where to place the Bouncycastle library .jar file, I have read that it should be placed in a folder named "lib", but I just do not know what folder called "lib"
I have already tried these:

1. C:\ant\lib
2. C:\Program Files\Java\jre6\lib
3. C:\Program Files\Java\jdk1.6.0_45\lib
4. C:\Users\Jos Vos\Downloads\freenet-build01461-source.tar\freenet-build01461-source\freenet-build01461\lib


Note: When I have the library copied to all of these places at the same time, than nor "ant" neither "ant package-only" (this one is from the deepweb tutorial), and "ant -Dtest.skip=true -Ddoc.skip=true", work

~ I also do not really know where to place the junit library

thank you in advance

Ps. I am not looking for a .exe or a .msi, what I am looking for is a self-compiled "freenet.jar" (or something similar ending with .jar), this is because I know it is not possible to get a Freenet source code .exe (or at least it would be very hard) with Ant. I know this because of the two clearnet tutorials, these:

1. http://kkpradeeban.blogspot.nl/2014/03/building-freenet-from-source-on-windows.html, and;
2. https://old-wiki.freenetproject.org/FreenetSourceCompiling


Pss. I just said that placing these libraries didn't work in these places:

1. C:\ant\lib
2. C:\Program Files\Java\jre6\lib
3. C:\Program Files\Java\jdk1.6.0_45\lib
4. C:\Users\Jos Vos\Downloads\freenet-build01461-source.tar\freenet-build01461-source\freenet-build01461\lib


I actually know more, it also doesn't work when placed in these places:

1. C:\Users\Jos Vos\Downloads\freenet-build01461-source.tar\freenet-build01461-source\freenet-build01461
2. C:\Users\Jos Vos\Downloads\freenet-build01461-source.tar\freenet-build01461-source\freenet-build01461\lib\freenet
3. C:\Users\Niels van Hoof\Downloads\freenet-build01461-source.tar\freenet-build01461-source\freenet-build01461\build
4. C:\Users\Niels van Hoof\Downloads\freenet-build01461-source.tar\freenet-build01461-source\freenet-build01461\build\main, and
5. C:\Users\Niels van Hoof\Downloads\freenet-build01461-source.tar\freenet-build01461-source\freenet-build01461\build\test


What are those three last places for actually anyway?

Discussion is locked