mkdir bin
del /f /s /q bin\*.class
del /f /s /q bin\*.xml

javac -d bin -classpath ".;hibernate-core-4.3.6.Final.jar;hibernate-jpa-2.1-api-1.0.0.Final.jar"   Exemple02.java fr/cnam/test/MySQL5MyISAMDialect.java

copy fr\cnam\test\Personne.hbm.xml bin\fr\cnam\test
copy hibernate.cfg.xml bin
pause
