Thank you Matt, for your help.

Its working now.
________________________________
From: Matt Casters <[email protected]>
Sent: Tuesday, October 25, 2022 4:20 PM
To: [email protected] <[email protected]>
Subject: Re: HOP GUI Error

Hi Sun Shine,

Thanks for trying out Hop!

You need Java 11 to be installed, not Java 8.
Microsoft has a download of OpenJDK 11 that you can install.
If it's already on your system alongside Java 8 you can point to the right 
installation with environment variable HOP_JAVA_HOME.

Good luck,

Matt

Op di 25 okt. 2022 22:53 schreef Sun Shine 
<[email protected]<mailto:[email protected]>>:
Hello:

I am new to Apache HOP when i run the command "hop-gui.bat" on my Windows OS 
laptop, i encounter this error as shown below.

I would appreciate any help.

Thanking in advance.

ERROR:-
E:\hop>echo off
===[Environment Settings - hop-gui.bat]===================================

Java identified as java

HOP_OPTIONS=-Xmx2048m -DHOP_PLATFORM_OS=Windows -DHOP_PLATFORM_RUNTIME=GUI 
-DHOP_AUTO_CREATE_CONFIG=Y

Command to start Hop will be:
java -classpath lib\*;libswt\win64\* -Djava.library.path=lib -Xmx2048m 
-DHOP_PLATFORM_OS=Windows -DHOP_PLATFORM_RUNTIME=GUI -DHOP_AUTO_CREATE_CONFIG=Y 
org.apache.hop.ui.hopgui.HopGui

===[Starting Hop]=========================================================
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/apache/hop/ui/hopgui/HopGui has been compiled by a more recent version of 
the Java Runtime (class file version 55.0), this version of the Java Runtime 
only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Press any key to continue . . .

Reply via email to