Archive for March, 2009

Starting an h2 database console via command line

Tuesday, March 10th, 2009

I have to post this because I am so sure I will have forgotten it once I don’t use it for two days:

$ java -cp h2*.jar org.h2.tools.Server

If you are using maven, as I do, the h2 packages reside in PATHTO/.m2/repository/com/h2database/h2/LATESTVERSION/.

The same information may be found at http://www.h2database.com/html/tutorial.html