java (n.) Look up java at Dictionary.com
1850, originally a kind of coffee grown on Java and nearby islands of modern Indonesia. By early 20c., coffee generally. The island name is shortened from Sanskrit Yavadvipa "Island of Barley," from yava "barley" + dvipa "island."