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

how to add a jar file to the classpath

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

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
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
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

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

Re: how to add a jar file to the classpath

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