In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
This article is a detailed introduction to "how java generates jar packages and realizes single process operation". The content is detailed, the steps are clear, and the details are properly handled. I hope this article "how java generates jar packages and realizes single process operation" can help you solve doubts. The following is a detailed introduction to learn new knowledge together.
java file package jar run
Effective steps:
1. cmd to the current directory (for example, the directory where the default package main class is located) set classpath = directory where the default package main class is located
2. javac main class.java
3.java Main Class Name
4. Write a list file
Manifest-Version: 1.0 Created-By: 1.8.0 (Sun Microsystems Inc.) Main-Class: Main class name
created-by Version number unknown-> cmd input java -version
5. jar cfm custom.jar MANIFEST.MF *.class
6. Customize a bat file (batch file is the default entry if occupied by decompression application)
Content: javaw-jar Customization.jar
7. Double-click the bat file to get the above two files in a computer equipped with jdk can run
Java basic data types are divided into:
1. Integer type, used to represent the data type of integer.
Floating-point type, used to represent decimal data types.
3. Character type, the keyword of character type is "char".
Boolean type is the basic data type that represents logical values.
Read here, this article "java how to generate jar package and achieve a single process run" article has been introduced, want to master the knowledge of this article also need to practice to understand, if you want to know more about the content of the article, welcome to pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.