Hi all,
I have set up mySQL. I am trying to run the example given in tutorial. When I create a JDO object with an existing database "mydb" (I have even tried it with the default database "test"), I get an exception:

Exception in thread "main" java.lang.NoClassDefFoundError: javax/transaction/Syn
at CreateMedia.main(CreateMedia.java:5)

The exceptions occurs at line:
JDO jdo = new JDO("mydb");

Does anyone know why am I getting this exception?
I'd appreciate all the help.