> vlenin66 wrote:
> >> I also tried to copy /usr/local/netbeans-6.0/platform7/modules/org-
[quoted text clipped - 5 lines]
> For God's sake, don't put your crap into the JVM lib/ directory, and avoid
> like heck putting it into the extensions.
For Mysql connection that was the solution: I put my crap into JVM,and
voila, mysql worked.
> You should upgrade your Java. There was a security patch since that version -
> I think update 11 is the first of the Java 5s to get it. How come you're not
> using Java 6?
>
> --
> Lew
I use linstalled knoppix, and it delivers java 1.5. I'd like to get
this work with java 1.5.
I do not want to install anything new, since the given java program
works well with netbeans.
The goal is, to get it work from command line.
Thanks!
Lew - 29 Dec 2007 21:32 GMT
Lew wrote:
>> For God's sake, don't put your crap into the JVM lib/ directory, and avoid
>> like heck putting it into the extensions.
> For Mysql connection that was the solution: I put my crap into JVM,and
> voila, mysql worked.
Actually, that was most definitely not "the solution" but a maintenance
nightmare a-borning. It was a workaround, and may have suppressed your
symptoms, but it was no more a cure than aspirin is a cure for the flu even
when it gets rid of the headache.
Putting custom JARs in the JVM itself is bad. Putting them in the extensions
directories is dangerous, and often bad unless the practitioner fully
understands the consequences. Neither is really ever necessary - extensions
directories exist so that you can, in effect, expand the Java language itself.
Normal library references are better managed by using the classpath.
In any event, you put the wrong JAR in there, so extensions, JVM lib/ or
classpath doesn't matter.
Please study the matter and learn why it's bad to put things in the JVM lib/
or extensions directories without full understanding.

Signature
Lew