The easiest way to use the line command system is to use the JThermomodynamics jar and database files from the current version. To use these files, JAVA (the programming language) and mySQL (the database) has to be installed.
Once java and mysql are installed, the installation of JTHERMODYNAMICS has three steps:
Download (in the assets of the release) read in the JThermodynamics_2021mmdd.sql file into the mySQL database you set up (see here for details to get you started). This is the database used by the program. These can be read by any mySQL installation.
Download (in the assets of the release) and modify the Jthermodyanmics.properties file (see below). These are the installation dependent parameters, mostly to do with linking the mySQL database to the program.
Download ((in the assets of the release) ) the jar file: Jthermodyanmics-1.0-jar-with-dependencies.jar. This holds the program to run with java
The Jthermodyanmics.properties file provides the information to link the installation of the mySQL with the JTHERMODYNAMIC program. You may need to modify may parameters in the Jthermodyanmics.properties file. First is the connector to the mySQL database:
thermo.database.connection=jdbc:mysql://localhost:3306/thermodynamics
If the database is on another host, you would replace 'localhost' with the IP of where the database is running.
3306 is the default port of a mySQL installation (usually does not need to be modified).
'thermodynamics' is the name I use for the JThermodynamic information (where you read in the SQL file).
The other line you may have to modify is:
thermo.database.dbpassword=password
Replace 'password' with the root password you gave when you installed the mySQL database.
The java command looks like this:
java -jar JThermodynamicData-1.0-jar-with-dependencies.jar <commands>'