I have created a class in java i want to reuse the code just like java.lang has build in function without my project opened all the time how to do that.How to add my class to java library.
Sign up to request clarification or add additional context in comments.
Comments
0
Hopefully I understood your question right. Compile your code into a jar file and add it to your system's LD_LIBRARY_PATH or your consumer project's build CLASSPATH.