-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_history
92 lines (92 loc) · 2.02 KB
/
.bash_history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
ls
ps aux
ps aux | grep java
ls
ps aux
java -jar target/bankingapp-jar-with-dependencies.jar 0 topology.txt
java -version
javac -version
mvn clean install
yum install java-11-openjdk-devel
sudo yum install java-11-openjdk-devel
mvn clean install -DskipTests
mvn clean install -DskipTest
ls
cd target/
ls
cd ../
java -jar target/bankingapp-jar-with-dependencies.jar 0 topology.txt
ls
cat logs
ps aux
java -jar target/bankingapp-jar-with-dependencies.jar topology.txt 0
java -version
which java
cs /usr/bin/java
ls
cd /usr/bin/java
ls
cd
./provision.sh
sudo ./provision.sh
cat provision.sh
export JAVA_HOME=/usr/lib/jvm/jre-11-openjdk-11.0.8.10-0.el7_8.x86_64/
export PATH=$JAVA_HOME/bin:$PATH
which java
java -jar target/bankingapp-jar-with-dependencies.jar topology.txt 0
ps aux
java -version
cd /usr/lib/jvm/jre-11-openjdk/
cd /usr/lib/jvm/jre-11-openjdk/bin/java
ls
echo %JAVA_HOME%
echo $JAVA_HOME
ls
cd ../../
pwd
cd jvm/java-11-openjdk-11.0.9.11-2.el7_9.x86_64/
cd jre
ls
cd ../
cd java-11-openjdk
ls
pwd
cd /usr/local/jdk
mkdir /usr/local/jdk
sudo mkdir /usr/local/jdk
cp -R jvm/java-11-openjdk-11.0.9.11-2.el7_9.x86_64/ /usr/local/jdk
cp -R /usr/lib/jvm/java-11-openjdk-11.0.9.11-2.el7_9.x86_64/ /usr/local/jdk
sudo cp -R /usr/lib/jvm/java-11-openjdk-11.0.9.11-2.el7_9.x86_64/* /usr/local/jdk
java -version
export JAVA_HOME=/usr/lib/jvm/jre-11-openjdk-11.0.8.10-0.el7_8.x86_64/
export PATH=$JAVA_HOME/bin:$PATH
java -version
echo $JAVA_HOME
echo $PATH
pwd
ls
cd ../
ls
cd java-11
ls
cd ../
export JRE_HOME=/usr/lib/jvm/jre-11-openjdk-11.0.8.10-0.el7_8.x86_64/
export PATH=$PATH:$JRE_HOME/bin
java -version
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-0.el7_9.x86_64
export JAVA_PATH=$JAVA_HOME
export PATH=$PATH:$JAVA_HOME/bin
java -version
echo $PATH
cd /usr/lib/jvm/jre-11-openjdk-11.0.8.10-0.el7_8.x86_64//bin
echo $JAVA_HOME
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.9.11-2.el7_9.x86_64
echo JAVA_HOME
echo $JAVA_HOME
java -version
cd /usr/lib/jvm/java-11-openjdk
pwd
java -version
echo $JAVA_HOME
echo $JRE_HOME
echo $PATH