I've created a .jar containing some packages and I tried to put it into
c:\jdk\jre\lib\ext
but the java commnand does not find the package
If I, instead, put the .jar into
c:\jre\lib\ext
all works!
Why? The SUN's tutorial says that both the locations are good!
I saw that the extension mechanism works only for VM but not for the compiling process so for compilation if I want to use external packages I must compile with the -cp flag
Is that correct?