Create a Jar file with two lines of command

Useful when creating a Jar file quickly.

terminal


javac *.java 
jar -cvf MyApp.jar *.class

reference

http://stackoverflow.com/questions/9941296/how-do-i-make-a-jar-from-a-java

Recommended Posts

Create a Jar file with two lines of command
Create a jar file with the command
[Java] Create a jar file with both compressed and uncompressed with the jar command
Create a Maven project with a command
How to create a jar file or war file using the jar command
Create a large number of records with one command using the Ruby on Rails seeds.rb file
What is a jar file?
[Java] Create a temporary file
Create a playground with Xcode 12
Create a jar file that can be executed in Gradle
Check the operation of two roles with a chat application
A series of steps to create portfolio deliverables with Rails
Create a Vue3 environment with Docker!
Replace the contents of the Jar file
How to make a jar file with no dependencies in Maven
Try to make a cross-platform application with JRuby (jar file generation)
Create an excel file with poi
Create a flyway jar with maven and docker build (migrate) with docker-maven-plugin
Create two DatePickers linked with TextField
Create command line app with maven
Create exceptions with a fluid interface
Create a Spring Boot app development project with the cURL + tar command
Create a Tokyo subway map from the CSV file of station data.jp
How to create a server executable JAR and WAR with Spring gradle
Create a simple gateway server by setting masquerade with firewall-cmd of CentOS8
Generate source code from JAR file with JD-GUI of Java Decompiler project
[Rails6] Create a new app with Rails [Beginner]
Create a simple web application with Dropwizard
Create a simple on-demand batch with Spring Batch
Create a GUI JSON Viewer with Ruby/GTK3
[Rails withdrawal] Create a simple withdrawal function with rails
Create a MySQL environment with Docker from 0-> 1
Create a simple bar chart with MPAndroidChart
Create a temporary class with new Object () {}
Extract a part of a string with Ruby
[Rails 5] Create a new app with Rails [Beginner]
How to create an Excel form using a template file with Spring MVC
JAVA: jar, aar, view the contents of the file
[Memo] Create a CentOS 8 environment easily with Docker
Read a string in a PDF file with Java
Create a simple search app with Spring Boot
Create a CSR with extended information in Java
Create a simple bulletin board with Java + MySQL
[Rails] rails new to create a database with PostgreSQL
[Windows] [IntelliJ] [Java] [Tomcat] Create a Tomcat9 environment with IntelliJ
Let's create a timed process with Java Timer! !!
[Java] Create a collection with only one element
Rename the package name of the existing jar file
Create a team chat with Rails Action Cable
Create a SandBox account with fastlane spaces ip
Create a multi-key map with the standard library
Create a web api server with spring boot
Create dummy data of portfolio with Faker [Note]
Create a native extension of Ruby in Rust
Create a Spring Boot development environment with docker
Docker command to create Rails project with a single blow in environment without Ruby