Top.Mail.Ru
May 2nd, 2004 - Java developers — LiveJournal
? ?

Java developers

May 2nd, 2004

02:24 am - ilja_l - problem with FileReader

Could anyone give me a hint what is wrong with this piece of code?
It works just fine in Eclipse, but when I export it to jar, it doesn't see the files, so it must be some path issue. The problem is that I simply can't find the solution.

UPDATE: Thank you, problem solved! I simply used class.getResource() to get the resources inside jar-archive.

codeCollapse )

11:14 pm - neep - Bandwidth Throttling

I'm writing a Bit Torrent Client, Comrade, in java, its pretty far along, mainly doing GUI work. I cannot find any good information on bandwidth throttling techinques. I found unexplained code from limewire.org and the freenet project. I thought I kind of understood it, but it didn't work and just corruptted the data.

Anyone got any ideas or links on bandwidth throttling in java?
Powered by LiveJournal.com