mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 12:36:28 +02:00
Move JAVA_HOME stuff to Java install
This commit is contained in:
parent
cd38eaa3f4
commit
e14effbf35
2 changed files with 2 additions and 3 deletions
|
@ -139,6 +139,8 @@ cd /opt && mkdir java && cd java
|
|||
wget https://download.java.net/java/GA/jdk14/076bab302c7b4508975440c56f6cc26a/36/GPL/openjdk-14_linux-x64_bin.tar.gz
|
||||
tar -xzf openjdk-14_linux-x64_bin.tar.gz
|
||||
echo 'export PATH=$PATH:/opt/java/jdk-14/bin' >> /opt/.profile
|
||||
# Scala will complain if JAVA_HOME isn't set
|
||||
echo 'export JAVA_HOME=/opt/java/jdk-14' >> /opt/.profile
|
||||
source /opt/.profile
|
||||
|
||||
# install jelly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue