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: can not locate myPackage.myMethod in myJar.jar for customaction
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
‎Oct 28, 2015
11:04 AM
can not locate myPackage.myMethod in myJar.jar for customaction
When building the installer the error in the title of this post stops the build.
There is an execute custom code in the Install sequence
with the path of the myJar.jar file,
with the class as myPackage.myMethod
I have done this to create myJar.jar:
jar cfv myJar.jar myPath/*
I can then do this to verify that the class file containing myMethod is in the jar
jar tf myJar.jar
Any ideas,
thank you
There is an execute custom code in the Install sequence
with the path of the myJar.jar file,
with the class as myPackage.myMethod
I have done this to create myJar.jar:
jar cfv myJar.jar myPath/*
I can then do this to verify that the class file containing myMethod is in the jar
jar tf myJar.jar
Any ideas,
thank you
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 02, 2015
03:47 PM
Dead thread, maybe just dead group . . . no life. :cool:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2015
02:48 PM
Solution: Ensure the method and the path are in synch. In other words, if the path says com.this.that.myMethod, then myMethod needs to reside in theproject\com\this\that directory.