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
- :
- how to add a jar file to the 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
‎Dec 06, 2007
09:23 AM
how to add a jar file to the classpath
hi,
for the typical install set everything works fine.
but for the minimal install set, even when my customcoderule jar file is there which contains my class.
It shows an error where i am instantiating the mysql jdbc driver
(ie line no 40 in RODataBaseRuleFalse.java:40)
myDriver = (Driver)Class.forName(DRIVER).newInstance();
and the error stack trace is given below
Installer: looking for Win32 DLLs in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\I1196853865\InstallerData\..\Windows\resource
RepositoryManager: lock acquired on: C:\Program Files\Zero G Registry\.com.zerog.registry.lock
java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.xxx.roinstaller.RODataBaseRuleFalse.evaluateRule(RODataBaseRuleFalse.java:40)
at com.zerog.ia.installer.rules.CustomRule.checkSelf(DashoA8113)
at com.zerog.ia.installer.InstallPiece.checkRulesSelf(DashoA8113)
It seems for the minimal install set the mysql-connectore-bin.jar is not in the classpath.
How to add it to the classpath for minimal install set.
(NOTE:It works fine for typical install set)
for the typical install set everything works fine.
but for the minimal install set, even when my customcoderule jar file is there which contains my class.
It shows an error where i am instantiating the mysql jdbc driver
(ie line no 40 in RODataBaseRuleFalse.java:40)
myDriver = (Driver)Class.forName(DRIVER).newInstance();
and the error stack trace is given below
Installer: looking for Win32 DLLs in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\I1196853865\InstallerData\..\Windows\resource
RepositoryManager: lock acquired on: C:\Program Files\Zero G Registry\.com.zerog.registry.lock
java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.xxx.roinstaller.RODataBaseRuleFalse.evaluateRule(RODataBaseRuleFalse.java:40)
at com.zerog.ia.installer.rules.CustomRule.checkSelf(DashoA8113)
at com.zerog.ia.installer.InstallPiece.checkRulesSelf(DashoA8113)
It seems for the minimal install set the mysql-connectore-bin.jar is not in the classpath.
How to add it to the classpath for minimal install set.
(NOTE:It works fine for typical install set)
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 06, 2007
09:24 AM
hi ,
one more thing i want to tell:
Does this rule work fine?????????
$CHOSEN_INSTALL_SET$ equals Minimal.(FOR minimal install set)
one more thing i want to tell:
Does this rule work fine?????????
$CHOSEN_INSTALL_SET$ equals Minimal.(FOR minimal install set)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 28, 2009
01:07 AM
How does it work for "typical install set" ??