cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kyoung
Level 3

How to let IA installer know where my jars are - e.g. modify classpath variable(s)

Hi All,

Let me start by saying that I know there is a specific forum for earlier versions of IA. I posted my questions there but those forums seem to get little use. I figured that my general questions could possibly be answered by someone using the newer versions as well.

I have been updating my VM bundles consistently to current JRE versions (e.g. 6, 7, 😎 although I am still using IA 8. It works pretty well. However I am looking to upgrade now to Java 9 for the installer. Our application was always built and released with jar files in jre/lib/ext. I know this is not the best way to do it, but when I inherited the CM of the project it was already working that way.

Now w/java 9 extraneous jar files or extension dirs. are not allowed in the directory of the JRE. I have moved them to another location.

My issue is, how do I tell the installer where to find them now? I can't seem to edit the IA_CLASSPATH at all. Is this even the correct variable, or is there another that should be used? Also, do the jar files need to be present in the extracted launcher directory (e.g. /tmp/installdir.12345/..... on Linux) or can they be referenced from my installation location on my mounted ISO/DVD image via some environment variable that points to these areas?

Thanks in advance for any help.
Labels (1)
0 Kudos
(4) Replies
vdonga
Moderator Moderator
Moderator

I'm not sure about IA 8, but can you try the 'Additional Classpath Settings' in the below help article

http://helpnet.flexerasoftware.com/installanywhere2015/default_CSH.htm#helplibrary/ia_ref_ad_project_config.htm
0 Kudos
kyoung
Level 3

Well thanks for that input. I took a look and went into that screen but only the remove and up and down items are there. There is no add button, and I was unable to edit the class path list. 😞 Thanks anyway.

If anyone else sees this please let me know how I may point my installer to the jars installed into /ourdata/lib/app_libs ... as an example. I am not really sure what variables to use and what options to use to set them other than what has been mentioned above (additional classpath settings).

This I have tried, have not worked so far.

Thanks in advance.
0 Kudos
jerome_IA
Level 9

Hi,

In the Install sequence, you need to have a create folder action for /ourdata/lib/app_libs.
Then on this panel you should check the "in classpath" box.
The "ClassPath Settings" should be automatically updated with this new additional path.

--Jerome
0 Kudos
kyoung
Level 3

jerome_IA wrote:
Hi,

In the Install sequence, you need to have a create folder action for /ourdata/lib/app_libs.
Then on this panel you should check the "in classpath" box.
The "ClassPath Settings" should be automatically updated with this new additional path.

--Jerome


Thanks for your info (as shown in quotes above). The very first pre-install custom action uses classes from our application, so the classpath needs to be set early for this to work. Because we always had our jars and 3rd party jars in /lib/ext it was always working without any special settings. As for creating the folder I keep trying but it never lets me set the value part. Always / . I guess I am missing something about this whole thing.

Anyway I am going to keep trying. Any further help is always appreciated. Thanks again.:confused:
0 Kudos