Configure environment variables JAVA_8_HOME. Example (Mac):
JAVA_8_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home
CLASSPATH=.:$JAVA_8_HOME/lib/dt.jar:$JAVA_8_HOME/lib/tools.jar
PATH=$JAVA_8_HOME/bin:$PATH:
export JAVA_8_HOME
Configure environment variables JAVA_9_HOME. Example (Mac):
JAVA_9_HOME=/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home
CLASSPATH=.:$JAVA_9_HOME/lib/dt.jar:$JAVA_9_HOME/lib/tools.jar
PATH=$JAVA_9_HOME/bin:$PATH:
export JAVA_9_HOME
JAVA_HOME must be configured. If you have JDK 1.6 then configure it to JDK 1.6, if not, you can use JDK8 instead.
Before you build LinkAgent package ,you must build takin jar depenencies first.
- Enter takin project, Execute script
mvn clean install -DskipTests
- Enter project
bin
directory ,Excute scriptrelease.sh
- Enter project
deploy
directory ,Get the packaged filesimulator-agent.tar.gz
- Enter project
simulator-agent
directorybin
,Excute scriptagent-packages.sh
- Enter project
simulator-agent
directorybin
,Excute scriptagent-packages.sh
- Enter project
instrument-simulator
directorybin
,Excute scriptsimulator-packages.sh
- Enter project
instrument-modules
directorybin
,Excute scriptpackages.sh
- Copy project
instrument-modules
directorytarget
'smodules
andbootstrap
to projectinstrument-simulator
directorytarget
'ssimulator
- Copy project
instrument-modules
directorytarget
'sbiz-classloader-jars/
to projectinstrument-simulator
directorytarget
'ssimulator
'sbiz-classloader-jars
- Copy project
instrument-modules
directorytarget
'sbootstrap/
to projectinstrument-simulator
directorytarget
'ssimulator
directorybootstrap
- Copy project
instrument-simulator
directorytarget
'ssimulator
to projectsimulator-agent
'starget/simulator-agent/agent
If copy target directory doesn't exist, create a new one.