Java's drink is surely the Bloody Mary, the world's most complex cocktail. A blunt and simple central ingredient (cheap vodka/Java the language) surrounded by an ornate spice rack's worth of ingredients and preparation.
OK.
Here is your java cocktail:
1. 50 mg of sand. Yes, you will never drink it, but it will gloriously creak on your teeth
2. Water. Put it as much as you can. If you're really into "hard staff" - use sea water.
3. Alcohol. In fact - you don't need this. But if you want - mix something. Anyway you don't have a lot of space to put a good portion of booze.