I am developing a java application that should run entirely from a CD. I should not install anything on the machine but now I am in need of a database. Is there any DB that I could use to sort out my problem?

Thank you.

If you mean that the DB data is to be stored on the CD, not AFAIK. If you mean only the software for the DB check out JavaDB (embedded usage).

You can run H2 from a CD, but the data will be read-only. You can't update it from your application.

thanx all;
masijade the data has to be stored on CD.
Well I don't need to update the DB so I will give H2 a try. Thanx a lot Ezzaral.

You might also be able to use Derby/JavaDB also in a read-only mode, but I'm not sure, just to keep your options open.

Yeah, I would imagine JavaDB would run in a read-only capacity as well. I only have experience with H2.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.