concept Java in category graphs

This is an excerpt from Manning's book Graph Databases in Action.
Deciding on label names is not a trivial undertaking. A good label name is short, descriptive, and precise. As with properly naming variables in an application, if you do it well, they add significant clarity and provide additive value when reading and working in the code. If you do it poorly, they obfuscate their purpose and can be misleading. In software development terms, a label in a graph database is analogous to a class in object-oriented languages such as C++, C# or Java: both a contain a definition to explain how an object is structured and both can be used to classify like items together.
A.2.1 Install and Verify the Java Runtime
The prerequisite for running the Gremlin Console is that you have a minimum of Java version 8 installed. If you do not have the Java installed, you should download and install the latest Java Development Kit (JDK) from Oracle (https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) or OpenJDK (https://openjdk.java.net/). If you would like to verify that Java is installed and the version, you can use the command java -version, and you will get a printout of the current version and JDK installed and configured on your system, as noted:
Verification of Java Installation
![]()
The screencast indicates that this machine is running Java version 1.8.0.71, so we know that Java is properly configured and ready to use.