Java costs