modrun | Java application launcher and class loader | Build Tool library
kandi X-RAY | modrun Summary
kandi X-RAY | modrun Summary
ModRun can load and run classes directly from Maven repositories and resolve dependencies at runtime. For a more complete tutorial, read this:. ModRun is short for Module Runner. In Maven context a "module" is an artifact in a specific version. When running an application with ModRun you just point to the Maven repository containing the artifact you want to run, then tell ModRun what artifact id, version and main class to run. ModRun will resolve dependencies at runtime - loading other modules (artifacts) in the correct versions directly from the Maven repository. ModRun can even load multiple versions of the same artifact into the same JVM. If an application depends on module A and module B, and A and B both depend on module C - but in different versions, ModRun can load one version of C for module A, and another version of C for module B.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Runs the module
- Finds a module by its class name
- Builds the dependency graph for the given module
- Load a class from this module
- Main entry point
- Parse a dependency
- Read the dependencies from the pom file
- Read a class
- Creates the classpath
- Checks if a given class exists
- Returns the full path for the given class name
- Checks whether the zip file contains the given class
- Read the class bytes
- Load a class
- Returns true if the file exists
modrun Key Features
modrun Examples and Code Snippets
Community Discussions
Trending Discussions on modrun
QUESTION
I am trying to compile til parameter estimation tool PEST (http://www.pesthomepage.org/) for linux.
According to the PEST-manual I did:
...ANSWER
Answered 2020-Aug-07 at 10:41Solutions to a problem shouldn't be hidden in comments, which is why I write this answer.
The make
output shows that the Makefile tries to link statically.
That requires the libraries that can be linked statically, notably libm.a, libgfortran.a, libquadmath.a and libc.a
A possible solution is to remove the -static
flag in the final step.
The resulting executable will of course need the shared objects (libm.so and friends) in order to be able to run. In most situations that's not a problem though.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install modrun
You can use modrun like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the modrun component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page