课程: Java 8+ Essential Training: Objects and APIs
今天就学习课程吧!
今天就开通帐号,24,600 门业界名师课程任您挑!
Package classes in JAR files - Java教程
课程: Java 8+ Essential Training: Objects and APIs
Package classes in JAR files
- [Narrator] A JAR file is a Java archive, a file in Zip format that contains one or more Java classes pre-compiled into BI code. The JAR file also includes something called an application manifest that indicates how the application is supposed to be run. You can take a JAR file that's pre-compiled, and share it with your users. And as long as they have the JAVA runtime installed, they should be able to run your application. And, as long as you don't have native code, that is any code built with C++ or another native language, your JAR files should be cross platform. You should be able to run it on Windows, on MAC, on Linux or on any other operating system with the JAVA run time. You create these files with a tool that's included with the Java development kit simply called JAR, but IntelliJ Idea makes it very easy to create the JAR file without having to work from the command line. IntelliJ Idea calls the JAR file an artifact and here's how you create it. From the menu, I'll select…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。