1. Install JDK (version 1.6 or above)
2. JDK environment variable configuration is shown in the figure (the following values are their own installation directory):
3. For the first error, directly flash back, find the spoon.bat in the data integration directory, right-click Notepad to edit, and find the following code to modify
if "%SPOON_CONSOLE%"=="1" set PENTAHO_JAVA=java.exe
if not "%SPOON_CONSOLE%"=="1" set PENTAHO_JAVA=javaw.exe
change to
if "%SPOON_CONSOLE%"=="1" set PENTAHO_JAVA=java.exe
if not "%SPOON_CONSOLE%"=="1" set PENTAHO_JAVA=java.exe
4. If you change the first error and then flash back (modify the memory configuration in spoon.bat)
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m"
change to
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms512m" "-Xmx1024m" "-XX:MaxPermSize=256m"
5. If the above errors are corrected, the following occurs:
You need to modify the variable value in spoon.bat
pushd "%JAVA_HOME%\jre\bin"
if exist java.exe goto USEJAVAFROMPATH
goto USEJAVAFROMPATH
:USEJAVAFROMPENTAHOJAVAHOME
FOR /F %%a IN ('.\java.exe -version 2^>^&1^|%windir%\system32\find /C "64-Bit"') DO (SET /a IS64BITJAVA=%%a)
GOTO CHECK32VS64BITJAVA
:USEJAVAFROMPATH
FOR /F %%a IN ('java -version 2^>^&1^|%windir%\system32\find /C "64-Bit"') DO (SET /a IS64BITJAVA=%%a)
GOTO CHECK32VS64BITJAVA
:CHECK32VS64BITJAVA
IF %IS64BITJAVA% == 1 GOTO :USE64
add a line:(set IS64BITJAVA=1,make them all TRUE)
pushd "%JAVA_HOME%\jre\bin"
if exist java.exe goto USEJAVAFROMPATH
goto USEJAVAFROMPATH
:USEJAVAFROMPENTAHOJAVAHOME
FOR /F %%a IN ('.\java.exe -version 2^>^&1^|%windir%\system32\find /C "64-Bit"') DO (SET /a IS64BITJAVA=%%a)
GOTO CHECK32VS64BITJAVA
:USEJAVAFROMPATH
FOR /F %%a IN ('java -version 2^>^&1^|%windir%\system32\find /C "64-Bit"') DO (SET /a IS64BITJAVA=%%a)
GOTO CHECK32VS64BITJAVA
:CHECK32VS64BITJAVA
set IS64BITJAVA=1
IF %IS64BITJAVA% == 1 GOTO :USE64
7. After the modification is successful, the graphical interface can be opened after saving
Read More:
- Flash back problem when Android studio plays music in sdcard through intent
- It can be opened with localhost, but not with IP address. The request host name is invalid
- [Solved] Pylink Windows Chinese path error: Specified file could not be opened
- [Solved] kettle Error: Unexpected problem reading shared objects from XML file: null
- Kettle reported an error and did not have permission to write files to HDFS
- Kettle Error Caused by: java.lang.ArrayIndexOutOfBoundsException
- [Solved] Kettle Error: ../deploy does not exist, please create it.
- [Solved] kettle Error: GC overhead limit exceeded
- [Solved] Failed to allocate graph: MYRIAD device is not opened.
- [Go] Solve the empty interface interface{} cannot use (type []string) as type []interface {}
- [Solved] No corresponding flash error is found during MDK download
- Aspecj cannot intercept method annotations on an interface
- The pip installation package under Windows reports an error: Microsoft Visual C++ 9.0 is required Unable to find vcvarsall.bat
- Initial installation of hive-2.1.0 startup error problem solution
- The spring project is normal locally, and the bean cannot be found error is thrown when entering the docker container
- ABAP: Overbooking BAPI_ACC_DOCUMENT_POST error reported FI/CO interface: inconsistent FI/CO voucher header data to be updated
- An error was reported when Maven package was running the packaged jar package: there is no main list attribute in xxx.jar, which can be solved by configuring Maven plugin
- When using postman assertion, the global variables set in the tests of the pit will take effect only after the interface is executed
- Zeppelin reported an error. The JDK version is low
- Eclipse Graphical Layout Error: Failed to find the style corresponding to the id 2130772027