Subj : Rhino 1.5r4: class lookup problems To : netscape.public.mozilla.jseng From : Rozek@GMX.De (Andreas Rozek) Date : Mon Feb 24 2003 04:03 am Hello! After having "installed" Rhino 1.5r4 on my system, many of my old Rhino scripts fail to run any longer. Reason: Java class lookup seems to be broken! Here are some facts: - Java classes and interfaces within JAR files or directory trees (within my "ClassPath") are no longer found - although they are definitely present - unpacking JAR files (or moving directory tree contents) into a folder such as $JavaHome/jre/lib/classes solves the problem - however, I would even have to unpack the Rhino library (js.jar) - going back to Rhino 1.5r3 immediately solves the problem as well - I'm currently running Sun JDK 1.4.0_03 - but the problem exists as well under 1.4.0_02, 1.4.0_01 and 1.3.?_06 (don't remember the version number) I already had a similar problem with "BeanShell" (www.beanshell.org) and JDK 1.4.1 a few weeks ago - I then deci- ded to go back to 1.4.0_03 as this solved most of the problems. Later, a colleague ran into similar class loading problems and had to go back to 1.4.0 as well...(very strange) - I'm running Win98SE, she was running WinXP Professional Did you work on class loading between Rhino 1.5r3 and 1.5r4? Do you have any idea why class loading breaks - presumably as soon as somebody tries to use his/her own class loader (I know that BeanShell is doing so, but Rhino?)? Thanks in advance for any help! Andreas Rozek .