New answers tagged


Official information: The basic format of the command for viewing the contents of a JAR file is: jar tf jar-file The JAR tool will display additional information if you use the v option: jar tvf TicTacToe.jar If you don't have it, you should install jar with sudo apt install openjdk-11-jdk-headless


You could use the command unzip -l [filename] to list the contents of the jar archive file. First, you might need to install unzip: sudo apt install unzip Example of unzip usage on the file gettext.jar: username@ubuntu-server:~$ unzip -l /usr/share/java/gettext.jar Archive: /usr/share/java/gettext.jar Length Date Time Name --------- ---------- ...

Top 50 recent answers are included