Java-based applications frequently depend on external libraries known as JAR files. These are zip files, packaged with a description of the classes they contain. To use these libraries from the command line, you have to add them to what’s known in Java as the classpath – a list of directories and libraries where you store dependent code.
- [Instructor] Java based applications…frequently depend on external libraries, known as JAR Files.…These are zip files, packaged with a description…of the classes they contain, known as a manifest.…To use these libraries from the command line,…you have to add them to, what's known in Java,…as the CLASSPATH, a list of directories and libraries,…where you store dependent code.…IntelliJ IDEA makes it easy though,…to package these without having to deal with…environment variables, and other cumbersome mechanisms.…To demonstrate this, I'm working with a very simple project,…that creates a person object,…and creates an array of strings, named colors.…
I want to turn those values into JSON strings.…That is Java Script Object Notation.…And for that, I'm going to use a library called gson.…This is an open-source library from Google,…that you can download from a number of different locations.…I've included it in the exercise files directory,…for this video.…I'll copy the JAR File to my clipboard,…then I'll go back to IntelliJ IDEA.…
Author
Released
4/19/2017- Exploring IntelliJ IDEA editions
- Installing IntelliJ IDEA on macOS and Windows
- Configuring IntelliJ IDEA
- Creating new projects
- Importing an Eclipse project
- Exploring the user interface
- Editing and debugging code
- Building, compiling, and packaging Java projects
- Managing multiple branches with Git
- Programming with Groovy, Scala, and Kotlin
Skill Level Beginner
Duration
Views
Related Courses
-
Learning Java Applications
with Todd Perkins2h 14m Beginner -
Java 8 Essential Training
with David Gassner6h 4m Beginner -
Java: IDE Overview
with Peggy Fisher3h 17m Beginner
-
Introduction
-
Welcome57s
-
-
1. Getting Started
-
Manage IntelliJ IDEA updates2m 35s
-
Configure IntelliJ IDEA3m 32s
-
Create new projects3m 30s
-
Get online help3m 21s
-
2. Migrate from Other Environments
-
Import an Eclipse project3m 34s
-
Import other Java projects2m 26s
-
-
3. Explore the User Interface
-
Explore the editor window5m 28s
-
Explore the project window2m 53s
-
Use other tool windows3m 55s
-
Manage the window layout2m 48s
-
-
4. Edit and Debug Code
-
Generate code3m 44s
-
Navigate code and find files3m 27s
-
Refactor code3m 23s
-
Analyze code2m 11s
-
Store code in scratch files2m 39s
-
Debug with breakpoints3m 31s
-
Inspect variable values3m 12s
-
5. Build, Compile, and Package Java Projects
-
Package classes in JAR files3m 27s
-
6. Use Software Version Control
-
Install Git1m 8s
-
Share code snippets as Gists2m 39s
-
-
7. Program with Other JVM Languages
-
Program with Groovy5m 45s
-
Program with Scala4m 53s
-
Program with Kotlin4m 20s
-
-
Conclusion
-
Next steps55s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Add external libraries to a project