Skip to main content

Thread: Where to install java libraries?


hi folks, downloaded java library (joda time) , wondering "supposed" stick it. /usr/lib/java? /usr/local/lib/java?? matter, , if so, why? have multiple,local users on system. /usr/lib supposed remote , local users, while /usr/local/lib local only?

have link: http://www.pathname.com/fhs/pub/fhs-2.3.html#purpose18 goes through quick explanation, since there few examples, many times left wondering.

thanks
pete

usually there variable defined called $classpath tells jvm classes should run reference one.

note java bit tricky in directory structure must follow package conventions.


eg if $classpath /opt/java

, have class named org.foo.bar.ninja.widgetfactory

should in:

/opt/java/org/foo/bar/ninja/widgetfactory.class

if java stuff in jar file shouldn't problem since jar file should follow package conventions.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Where to install java libraries?


Ubuntu

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support