Question: In my form, I programmatically set some fields as required depending on some conditions. I use this code :

```
if (condition) $('#my_field']).attr('data-parsley-required', 'true'); 

```

And it works fine. But now I want to display a "required" icon such as red \* when thoses fields turn required. I found some "parsley-sucess"/"parsley-error" classes that are automatically set, but no "parsley-required" nor "data-parsley-required" class seem to exist.

Is there any way to do this ? 

Thank you
Loko

Answer: 
You need to explicitly provide the `sqlite-jdbc-3.7.2.jar` file in your classpath while compiling and running your classes using the `-cp` option. The java and javac commands will only look for .class files in the classpath and not jars. 

Try this :

`javac -cp <path_to_jar/sqlite-jdbc-3.7.2.jar>;. <your_class_name>.java`

And if you have more than one thirdparty library, you can use a wildcard :

`javac -cp <path_to_jar/*>;. <your_class_name>.java`

Note that `;` is the separator used in Windows. If you are on unix based systems, you need to use `:` instead of `;`. Java maybe platform independant but the java and javac commands are not. 

Also note that the `.` tells the java and javac commands to look in the current directory for classes. Don't forget to provide the classpath to the jars when running your program using the `java` command.
I have found the answer to fix this.

compile the script as normal

```
javac Query.java

```

Then specify the driver when executing

```
java -classpath ".;sqlite-jdbc-3.7.2.jar" Query

```

And it will run fine