Skip to content
Permalink
Browse files
[DOC] update java 8 references and add a note to mysql database type
  • Loading branch information
hansva committed May 12, 2022
1 parent b00f1fe commit 2ff4bd9ffd0579b12a860d68fc69520495be36d3
Showing 3 changed files with 8 additions and 9 deletions.
@@ -35,7 +35,7 @@ Running your own Hop Web environment is straightforward but requires you to buil

We'll use Apache Tomcat in this example. If you use another application server, the process should be similar.

Hop 1.x is built with Java 8, so you'll need to https://tomcat.apache.org/download-90.cgi[download the latest Tomcat 9].
Hop 2.x is built with Java 11, so you'll need to https://tomcat.apache.org/download-90.cgi[download the latest Tomcat 9].

The steps to set up the default Docker image are included in a helper script `docker/create_hop_web_container.sh` in the Hop code base.
This should get you started to make modifications or create your own version entirely.
@@ -31,3 +31,6 @@ under the License.
|JDBC Url | jdbc:mysql://hostname:33060/databaseName
|Driver folder | Hop Installation/plugins/databases/mysql/lib
|===

**Important:** When creating a connection for mysql make sure you select the correct "database type". +
The Mysql 8+ type will work for the current Drivers. If needed you can use the Mysql driver to use the old "org.gjt.mm.mysql.Driver" Driver path.
@@ -28,19 +28,15 @@ The steps on this page and the detail pages for Spark, Flink and Google Dataflow

=== Java

You'll already have Java installed to run Apache Hop.

Even though Hop runs fine on Java versions higher than 8, both Apache Hop and Apache Beam are built with java 8.

Make sure you're using a Java 8 runtime to avoid any potential issues, either by setting java 8 as your default JRE or through the `JAVA_HOME` environment variable.
You'll already have Java installed to run Apache Hop. Both Apache Hop and Beam require a Java 11 environment.

Double-check your java version with the `java -version` command. Your output should look similar to the one below.

[source, shell]
----
openjdk version "1.8.0_312"
OpenJDK Runtime Environment (build 1.8.0_312-b10)
OpenJDK 64-Bit Server VM (build 25.312-b10, mixed mode)
openjdk version "11.0.15" 2022-04-19
OpenJDK Runtime Environment Homebrew (build 11.0.15+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.15+0, mixed mode)
----

=== the samples project

0 comments on commit 2ff4bd9

Please sign in to comment.