Hi ranchers. you know that we put the extra Jar files in the ext dir. I put Jars like : jdom.org, liquidlnf.jar, junit.org the problem is the JVM is loading every jars in this dir except for the look and feel jars.. in my main class, I wrote: ---------- UIManager.setLookAndFeel("com.birosoft.liquid.LiquidLookAndFeel"); ---------- the code is compiling fine, but when running it using the command: java MajorClass a ClassNotFoundException: com.birosoft.liquid.LiquidLookAndFeel is thrown... and if I wrote the command: java -cp .;%JAVA_HOME%\jre\lib\ext\liquidlnf.jar MajorClass the application works fine. so what is the problem?? is there any problem with the JVM? as I know, I should not point to the ext dir. should I reinstall the sdk??
I have heard of problems like this caused by the fact that your Java installation may well have a separate jre with its own ext directory hidden under the "Program Files." Which one does your PATH point to? Bill
yes, I have : D:\SDKSE which is the JAVA_HOME and Program Files\Java my class path is (environment variable): .;D:\SDKSE\lib\tools.jar;D:\SDKSE and the Path: D:\SDKSE\bin I have tried the command: java -Dswing.defaultlaf=com.birosoft.liquid.LiquidLookAndFeel MajorClass and it dosen't work too....