Re: [Sablevm-developer] Does SableVM exclude gnu.regex from its classpath?
Brought to you by:
egagnon
From: Roman K. <ro...@on...> - 2004-06-15 14:38:27
|
Am Di, den 15.06.2004 schrieb Etienne Gagnon um 15:07: > Roman Kennke wrote: > > Hi list. > > > > I have come across a strange thing: While testing my application > > knowledge-tracking, I got an exception: > > > > java.lang.NoClassDefFoundError > ... > > looking at the code in java.util.regex.Pattern, it is clear that > > gnu.regex.RESyntax is not found. Strange thing is, that gnu.regex is in > > SableVM-Classpath and installed properly (I checked this). When I > > explicitly include the path to SableVM-Classpath in the java-sablevm call, > > then things work out right. > > This is weird. Can you reproduce this with a minimal example you could > share on this list? Here we go. Attached (i hope ;-> ) is a very simple example, which throws an exception when called this way: > $HOME/local/bin/sablevm TestStrangeClasspath when called this way: > $HOME/local/bin/sablevm -c $HOME/local/share/sablevm/sablevm-classpath:. TestStrangeClasspath everything works fine. Isn't this weird? I used SableVM and SableVM-Classpath from bugfree branch. /Roman |