title: jooq startup: command line to generate classes
body: <p>could you help me to change this command line to use it in a MacOS? the jar files will <strong>be on the desktop</strong>.</p>
  
  <blockquote>
    <p>java -classpath jooq-2.0.0.jar;jooq-meta-2.0.0.jar;jooq-codegen-2.0.0.jar;mysql-connector-java-5.1.18-bin.jar;. org.jooq.util.GenerationTool /guestbook.xml</p>
  </blockquote>
  
  <p>Thank you.
  F.</p>
  
  <hr>
  
  <h2>UPDATE:</h2>
  
  <p>ok, this is the full lines and the error that I got. All the listed jars are present in the folder:</p>
  
  <p>java -classpath ~/Desktop/JOOQ/jooq-2.1.0.jar:~/Desktop/JOOQ/jooq- 
  meta-2.1.0.jar:~/Desktop/JOOQ/jooq-codegen-2.1.0.jar:~/Desktop/JOOQ/ 
  mysql-connector-java-5.1.15-bin.jar:. org.jooq.util.GenerationTool /bookstore.xml </p>
  
  <p>Exception in thread "main" java.lang.NoClassDefFoundError: org/jooq/ 
  util/GenerationTool 
  Caused by: java.lang.ClassNotFoundException: 
  org.jooq.util.GenerationTool 
          at java.net.URLClassLoader$1.run(URLClassLoader.java:202) 
          at java.security.AccessController.doPrivileged(Native Method) 
          at java.net.URLClassLoader.findClass(URLClassLoader.java:190) 
          at java.lang.ClassLoader.loadClass(ClassLoader.java:306) 
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) 
          at java.lang.ClassLoader.loadClass(ClassLoader.java:247) </p>
  
  <hr>
  
  <h2>UPDATE 2</h2>
  
  <p>If I change the path removing ~/ and usign:</p>
  
  <p>java -classpath /Users/fabio/Desktop/JOOQ/jooq-2.1.0.jar:/Users/fabio/Desktop/JOOQ/jooq-meta-2.1.0.jar:/Users/fabio/Desktop/JOOQ/jooq-codegen-2.1.0.jar:/Users/fabio/Desktop/JOOQ/mysql-connector-java-5.1.15-bin.jar org.jooq.util.GenerationTool /Users/fabio/Desktop/JOOQ/bookstore.xml</p>
  
  <p>I got a different error:</p>
  
  <p>Apr 1, 2012 5:19:52 PM org.jooq.tools.JooqLogger error
  SEVERE: Cannot find /Users/fabio/Desktop/JOOQ/bookstore.xml
  Apr 1, 2012 5:19:52 PM org.jooq.tools.JooqLogger error
  SEVERE: -----------<br>
  Apr 1, 2012 5:19:52 PM org.jooq.tools.JooqLogger error
  SEVERE: Please be sure it is located on the classpath and qualified as a classpath location.
  Apr 1, 2012 5:19:52 PM org.jooq.tools.JooqLogger error
  SEVERE: If it is located at the current working directory, try adding a '/' to the path
  Apr 1, 2012 5:19:52 PM org.jooq.tools.JooqLogger error
  SEVERE: Usage : GenerationTool </p>