I want to run an sql script generated by mysql inside java.This sql script creates the default tables.The first problem is that i had to remove the comments before executing the script.But then when i execute the script inside java i am getting errors.I am getting the same errors when i copy paste the script to mysql query browser!But if i import the script it creates everything ok.Is there any tool for running sql scripts?I have my application and i want to add an installation class which will create all the necessary tables