Tools and utilities, written in Java.
Clone the repository into a local directory:
# Clone the repository
git clone git@github.com:LearnDifferent/java-utility.git
# Go into the repository
cd java-utility
Or you can click here to download the zip file containing the code.
Take "CalibreTool" for example. The directory is CalibreTool:
# Go into the directory
cd CalibreTool
# Go into the source directory
cd src
# Compile the Java file
javac CalibreTool.java -encoding UTF-8
# Run the Java program
java CalibreTool
Take "Markdown Tool" for example. The directory is Markdown and the Main Class is MarkdownTool
:
# Go into the directory
cd Markdown
# Build a JAR file
javac MarkdownTool.java -encoding UTF-8
jar -cfev markdownTool.jar MarkdownTool MarkdownTool.class
# Run the JAR file
java -jar markdownTool.jar
Take "Fanfou Album Download Tool" for example. The directory is FanfouAlbumDownloadTool :
# Go into the directory
cd FanfouAlbumDownloadTool
# Build a JAR file
mvn package
# Rename the JAR file and move it to current directory
mv target/FanfouAlbumDownloadTool.jar tool.jar
# Run the JAR file
java -jar tool.jar
Remember to use the JAR file WITHOUT the suffix SNAPSHOT.
Released under the Apache License 2.0.