× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



All,

 I wanted to resurrect this thread to find whether there is an emerging
consensus or "best practices" about where to store user-written java
programs.

 Numerous useful Java utility programs have been posted on these lists and
each seems to install in a different directory structure. Some load
directly off the /root, other install in /'javautil/whatever' and others
install in 'ext' under /QIBM/proddata/ or /QIBM/userdata/. Some processes
require maintenance to the CLASSPATH or environment variables. Judging
from the number of email posts, setting CLASSPATH is a major source of
frustration for both new and experienced users.

 I make no pretense about being an experienced sysadmin and am uneasy
about too many /root directories and too much fiddling around with
CLASSPATH. My first project, calling POI from RPG, was achieved by
placing the POI files in /QIBM/userdata/java400/ext". This worked because
'ext' is available by default and the POI package consisted of only two
.jar files.

 What about 'javamail', though? Is javamail enough of a well-recognized
app that it should have its own directory? If so, where should the
directory be located and should it be added to the *sys environment to
avoid CLASSPATH hassles?

 Our shop will surely be using Java more frequently in the future and it
would be good to start with a strategy in place. I'd hate to end up with
directories scattered all over the IFS and having to remember to do one
thing when calling Java from RPG, another in qshell and something
entirely different when submitting from CL.

 Would one of you gurus be kind enough to publish some pros and cons of
the various install strategies?

 Many thanks, JK


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.