1024programmer Java kattle’s java installation, kettle installation

kattle’s java installation, kettle installation

1.win system

Click the .bat file to run

2.linux system

Click the .sh file to run

3 .os system—–However, it cannot be opened through the terminal,So it is better to use 6

terminal

brew install kettle

It means This is something provided by the official website,However, it is useless,Ignore it for now,Maybe one day it will be enough.

java_home:D:\Program Files\Java \jdk1.7.0_25(installation jdk path)

classpath:.;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar

path& #xff1a;Add %java_home%\bin;%java_home%\jre\bin;

kettle_home:D:\Program Files\data-integration (kettle installation path)

(2) The Java version is too low ,jdk1.6 or above is sufficient,For details, please check the spoon.bat configuration file.

(3) The Java environment configuration is correct,But after double-clicking spoon.bat, it flashes and disappears,Modify the memory configuration in spoon.bat:

if “%PENTAHO_DI_JAVA_OPTIONS%”==”” set PENTAHO_DI_JAVA_OPTIONS=”-Xms2058m” “-Xmx1024m” “-XX:MaxPermSize=256m”

Change for

if “%PENTAHO_DI_JAVA_OPTIONS%”==”” set PENTAHO_DI_JAVA_OPTIONS=”-Xms512m” “-Xmx512m” “-XX:MaxPermSize=256m”

Save the modification and restart spoon.bat to solve the problem.

4.win–Configure java environment variables http://blog.csdn.net/dongfengwuhen/article/details/21593361

(1) Open my computer–Properties –Advanced–Environment variables

(2) Create new system variables JAVA_HOME and CLASSPATH

Variable name:JAVA_HOME

Variable value: C:\Program Files\Java\jdk1.7.0[The specific path is subject to your own local installation directory]

Variable name:CLASSPATH

Variable value: .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;

(3) Select the environment variable named “Path” in “System Variables”&#xff0c ;Double-click the variable ,Add the absolute path of the bin directory in the JDK installation path, to the value of the Path variable, and use a half-width semicolon to separate it from the existing path

Variable name:Path

Variable value:%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;

5. win–configuration kettle environment variable

Add the KETTLE_HOME variable in the system environment variable,Directory points to the kettle installation directory:D:\kettle\data-integration

Windows directly Double-click the batch file Spoon.bat. The specific path is :

kettle\data-integration\Spoon.bat

Linux executes spoon.sh. The specific path is &# xff1a;

~/kettle/data-integration/spoon.sh

6. Use kettle on Mac

After downloading the compressed package from the official website

Click data integration.app to open kettle

But ,you need to configure the jdk environment first

jdk download address——–http://www .oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

3047eb9acce9

Download and install

Enter in the terminal

java -version

3047eb9acce9

As shown in the figure, the installation is successful, Double-click data integration.app to open kettle

7. Find and set $JAVA_HOME on MAC

(1) Locate java—probably because the hidden file is not found in finder

/usr/ libexec/java_home -V

Get the path

/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home

(2) Configure java_home

vi ~/.bash_profile

i >Enter the following>esc>:wq to save

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0 _131.jdk/Contents/Home

PATH=$JAVA_HOME/bin:$PATH

CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/ lib/tools.jar

export JAVA_HOME

export CLASSPATH

export PATH

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/kattles-java-installation-kettle-installation/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: 34331943@QQ.com

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索