cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

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)
Labels (1)
0 Kudos
2 Replies
Highlighted

one more thing

hi ,
one more thing i want to tell:
Does this rule work fine?????????
$CHOSEN_INSTALL_SET$ equals Minimal.(FOR minimal install set)
0 Kudos
Highlighted
Pilgrim

Re: how to add a jar file to the classpath

How does it work for "typical install set" ??
0 Kudos