Pergunta

I added the jar jsqlparser-0.7.0 to my Netbeans IDE (right clic on libraries / Add Jar file) but i still can't use its packages. what could be the reason . The library is created on 2011 it could be it is not supported by JDK7?

enter image description here

Foi útil?

Solução

The JAR file "jsqlparser-0.7.0.jar" is not a regular Java library. It is a simple zipped file containing several artifacts: a source and a documentation directory, some testfiles, and - what you need - another JAR called "jsqlparser.jar" in a lib directory.

This JAR is the "real library" that you must add to your project. Additionally, all packages inside this library start with "net.sf.jsqlparser".

Outras dicas

Just put this:

import jsqlparser.*;
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top