Question: is there a dictionary i can download for java? 
i want to have a program that takes a few random letters and sees if they can be rearanged into a real word by checking them against the dictionary

Answer: 
Dictionaries are usually programming language agnostic. If you try to google it without using the keyword "java", you may get better results. E.g. [free dictionary download](http://www.google.com/search?q=free+dictionary+download) gives under each [dicts.info](http://www.dicts.info/dictionaries.php).
[If you are on a unix like OS look in /usr/share/dict.](http://en.wikipedia.org/wiki/Words_%28Unix%29)