About 1,010,000 results
Open links in new tab
  1. Using external libraries in Java | Opensource.com

    Feb 11, 2020 · There are two main steps to accessing the functionality provided by an external library: Make sure the library is available to the Java compilation step— javac —and the execution step— java —via the classpath (either the -cp argument on the command line or the CLASSPATH environment variable).

  2. Working with and importing external libraries / frameworks in Java

    Jul 23, 2013 · But now getting exposed to more "advanced" concepts, I need to start working with external frameworks, e.g. JSON for Java, Apache's HttpClient for java and so on. And I'm looking for a basic understanding on how this works and how to go about importing these libraries so you can start working with the classes...

  3. Defining and using Java libraries via JAR files - Tutorial - vogella

    Jun 7, 2016 · A Java library contains code which you can access and use in your Java project. The deployment format of a Java library is a JAR file.

  4. Java Libraries - Happy Coding

    To use a library, you have to add it to your classpath, which you pass into the javac and java commands using the -cp argument. As long as you do that, you can use classes from a library exactly like you can use a regular Java class or a class that you create- …

  5. How do I set up and use classes, libraries, packages in Java?

    Jan 10, 2013 · Here are some instructions specific to using the library you're interested in. Extract jexcelapi_2_6_12.zip to c:\java\lib\. This should mean the following file now exists: C:\java\lib\jexcelapi\jxl.jar. Let's put your code in c:\java\work for now, to keep it separate. Create the file c:\java\work\MyClass.java using a text editor:

  6. Mastering Java Libraries, Packages, and Modules

    Apr 18, 2024 · Use libraries to avoid reinventing the wheel. Organize your code into packages for better maintainability. Adopt modules to manage dependencies and ensure strong encapsulation.

  7. Importing and Using Libraries in Code in Java | Useful Codes

    Jan 9, 2025 · This article covered how to import libraries, understand import statements, use external libraries, and manage library conflicts. By mastering these concepts, you can streamline your development process and take full advantage of the vast ecosystem of Java libraries. Last Update: 09 Jan, 2025

  8. How to include libraries in Java without using an IDE

    How do I import libraries in my Java program without using an IDE, like NetBeans? In NetBeans I do it this way: How can I achieve the same thing by just using Notepad++ or Programmer's Notepad .

  9. Using Java Libraries - Florida State University

    In other words, what do we need to know to use an existing Java library from the SDK, along with it's various already-defined features. We will look at how to build things like functions, classes, interfaces, etc. later on.

  10. How to add external libraries in Java | LabEx

    Learn essential techniques for integrating external libraries in Java projects, including dependency management, JAR file handling, and best practices for library integration.

  11. Some results have been removed
Refresh