Java is a town in Walworth County, South Dakota, United States. The population was 121 at the 2020 census.

Java derives its name from Java coffee, and Coffee Town was an early variant name. Java received its name from railroad crews on the Chicago, Milwaukee & St. Paul Railway Line who would stop for coffee in the town prior to the railroad's relocation in 1908.

Many of the first homesteaders were of German, Russian, Dutch, English, and Hungarian ancestry. The Java Herald, the first newspaper serving the town, was established in 1903 by Carl F. Clement, and was printed in both English and German.thumb|The old schoolhouse in Java built in 1921. Photo taken in 2018.

Geography

According to the United States Census Bureau, the town has a total area of , all land.

Demographics

2010 census

As of the census of 2010, there were 129 people, 69 households, and 38 families residing in the town. The population density was . There were 119 housing units at an average density of . The racial makeup of the town was 93.0% White, 3.1% Native American, and 3.9% from two or more races.

There were 69 households, of which 13.0% had children under the age of 18 living with them, 44.9% were married couples living together, 7.2% had a female householder with no husband present, 2.9% had a male householder with no wife present, and 44.9% were non-families. 40.6% of all households were made up of individuals, and 24.6% had someone living alone who was 65 years of age or older. The average household size was 1.87 and the average family size was 2.47.

The median age in the town was 57.1 years. 14% of residents were under the age of 18; 3.2% were between the ages of 18 and 24; 15.5% were from 25 to 44; 30.4% were from 45 to 64; and 37.2% were 65 years of age or older. The gender makeup of the town was 45.0% male and 55.0% female.

2000 census

As of the census