This may be a dumb question, but right now I have a pretty big class that I want to use as a library. If someone can just add this jar file to their classpath. And then just do the import statement at the top, then he or she can start using this class.
Is there anything special I need to do, or can I just use the generated jar file?
pretty big class
Larger classes usually don't create good libraries :)
, , , , JAR. ( ), . , , , ( , , ).
Javadoc Javadocs . API- .
JAR . .
, . , , , JAR ( )
Foo β bar/Foo.class
JAR .class " ", JAR CLASSPATH. JAR "import". /, JVM -Xms -Xmx, .
Source: https://habr.com/ru/post/1740467/More articles:.dll application name is .netHow long does MySQL take to create an index - mysqlCannot convert value in attribute '[attr]' to an object of type 'System.Windows.TemplateBindingExtension' - wpfUsing parameter values ββin an SQL statement - sqlWhy does my homespun sizeof operator need cast char *? - cFlex TextField will not accept "ΓΌ" and other "German" characters - flexHow to save a user login session? - javaNeed a distributed key value search system in PHP - phpDynamically invoke dll in sharepoint - reflectionhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1740472/mvc-best-practice-when-adding-functions-to-controller&usg=ALkJrhhXmlzXhSOiFxHxdP0-NFZHe0t-VgAll Articles