Method for loading dynamic library in jar packet based on java
A technology of jar package and dynamic library, applied in the direction of program loading/starting, program control design, instruments, etc., can solve problems affecting software development, etc., to achieve the effect of easy promotion, wide application and cleanliness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0017] The present invention will be further described below in conjunction with specific examples.
[0018] A method for java loading dynamic library in jar package of the present invention, its implementation process is: first decompress the dynamic library in the jar package to the temporary file directory, then load through absolute path, and delete the generated dynamic library at the end of the program.
[0019] Its specific implementation process is:
[0020] First read the dynamic library in the jar package in the form of a file stream. The dynamic library is determined by judging the system type, and the suffix of the dynamic library is suffix;
[0021] Then write the above read file stream into the temporary folder of the system in the form of byte stream through the file output stream;
[0022] Load the dynamic library;
[0023] Use the delete function to delete the generated dynamic library temporary file at the end of loading.
[0024] Determine the dynamic lib...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com