2

I would like to develop a Java application which use FireBird Embedded to store some data. I am trying to make it this way: http://www.firebirdfaq.org/faq350/

I don't know how I can set the "FIREBIRD environment variable" or how can I set parameters of the JVM.

My final goal is that the application (and firebird) can be copied to any Windows (or maybe Linux) machine and run on it without any configuration made by user. But first of all I just want to make it working on my Windows.

Please, help me. :)

szedjani
  • 550
  • 2
  • 6
  • 21
  • Why firebird ???, you may find a Java-DB easier (e.g. H2 http://www.h2database.com/html/main.html, but there are other HSQLDB, etc). – Bruce Martin Jul 02 '13 at 13:04
  • IMHO Sqlite would do a better job for what you are trying to achieve. Especially if you want to allow the database file to be copied onto multiple platforms without any configuration made by the user. – Vincent Jul 02 '13 at 13:15
  • H2 seems to be good. A pure Java solution is the best for cross-platform, and performance is not a important in this case. – szedjani Jul 02 '13 at 15:30

1 Answers1

2

look at the chapter 2 of this tutorial. You don't need to set any environment variable. just need firebird driver, defualt user name which is (sysdba) and password (masterkey). You can use flamerobin for the ease use of firebird.

ain
  • 22,394
  • 3
  • 54
  • 74
Waqas Ali
  • 1,642
  • 4
  • 32
  • 55