This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: How to set classpath?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
01:27 AM
How to set classpath?
Hi~
I've met this problem that I need to set several jars to the classpath. My custom codes need these jars during the installation.
How can I do this?
I've read the manual and it seems that the "Set classpath" button and the "$IA_CLASSPATH$" variable work for launchanywhere only. Am I wrong about this? Thanks a lot!
I've met this problem that I need to set several jars to the classpath. My custom codes need these jars during the installation.
How can I do this?
I've read the manual and it seems that the "Set classpath" button and the "$IA_CLASSPATH$" variable work for launchanywhere only. Am I wrong about this? Thanks a lot!
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
01:34 AM
You can use 'set environment variable' action to set any variable you want.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
02:20 AM
I tried your method and added the path of the required jars into "classpath" but it doesn't work...
Back in ISMP, we use the "Additional Class Paths" to add required jars. Does IA have any functions to do the same work?
Thanks!
Back in ISMP, we use the "Additional Class Paths" to add required jars. Does IA have any functions to do the same work?
Thanks!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
02:39 AM
question on the same lines.. if i need some jar to run my custom code.. I put it in The Dependencies option...
So if i am using same jar for multiple files... its increasing my installer size.
is there any better way?
like putting in the IA classpath?
So if i am using same jar for multiple files... its increasing my installer size.
is there any better way?
like putting in the IA classpath?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
03:28 AM
Thanks a lot, the dependency way settled my problem!
But It'll still be better if we can set the classpath
But It'll still be better if we can set the classpath
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
03:39 AM
But if .. i use same jar multiple times.. for no reason .. my installer size is increasing 😞
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 05, 2008
03:45 AM
I just read the InstallAnywhere 2009 Release Notes. And there's a new feature 'Payload Optimization'.
It says:
"InstallAnywhere now better detects source duplication at a file level and bundles only one copy of the source. The source is deployed in all specified locations, but bundling only one copy reduces the footprint of the installer."
Maybe 2009 can settle your problem......
It says:
"InstallAnywhere now better detects source duplication at a file level and bundles only one copy of the source. The source is deployed in all specified locations, but bundling only one copy reduces the footprint of the installer."
Maybe 2009 can settle your problem......