8_TheWeather is a user-friendly Java application that provides users with the current weather condition, as well as short-term (24 hours) and long-term (7 days) forecasts for an user-specified location.
This application retrieves current weather, short-term and long-term forecast data from OpenWeatherMap's API.
Retreives Mars weather information from Mars Atmospheric Aggregation System (MAAS)'s API.
The application also uses the JSON utility to parse the JSON data from OpenWeatherMap and MAAS.
The user interface was designed by hand using Swing and uses a free icon pack.
To install, simply pull the branch Install from our GitHub repository to download the application, 8_TheWeather.jar.
After download is complete, use the command java –jar 8_TheWeather.jar
to run the program. Note that OpenWeatherMap API keys are expired, we haven't updated them.
To build, simply pull the branch Final-Release from our GitHub repository to download the source files and java docs.
Once download is complete, use the command mvn compile
to compile the application. Then use the command mvn package
to package the files into an executable jar file.
Finally, execute cd target
to redirect into the target folder and use the command java –jar 8_TheWeather.jar
to run the program. To execute the program, you will need JDK 1.7
Plugins required:
- Maven Compiler Plugin 2.4 (Included)
- Maven Jar Plugin 2.3.2 (Included)
Please follow this link to see our Java documents.