Fix Oracle SQL Developer
Force Oracle SQL Developer to run with java 17
This commit is contained in:
parent
2dce6cd3d5
commit
ec38dc2831
@ -17,7 +17,7 @@ PACKAGES=(
|
||||
"tmux" "sleuthkit" "tk" "tcl" "xterm" "junit" "lightdm" "samba" "bind" "krb5" "tree"
|
||||
"time" "noto-fonts" "noto-fonts-cjk" "noto-fonts-emoji" "noto-fonts-extra" "numlockx"
|
||||
"lightdm-gtk-greeter" "tigervnc" "xfce4-pulseaudio-plugin" "docker" "docker-compose"
|
||||
"android-tools" "opam"
|
||||
"android-tools" "opam" "jdk17-openjdk"
|
||||
)
|
||||
|
||||
PACKAGES_AUR=(
|
||||
@ -192,6 +192,10 @@ PREFIX=$(marionnet --paths | awk '/share.marionnet.filesystem/ {print $3}')
|
||||
PREFIX=${PREFIX%share/marionnet/filesystems}
|
||||
./marionnet_from_scratch -O -p $PREFIX -s 0.90.x
|
||||
|
||||
# Fix Oracle SQL Developer
|
||||
sed -i '/^#!\/bin\/bash/a export JAVA_HOME=\/usr\/lib\/jvm\/java-17-openjdk\nexport LD_LIBRARY_PATH=\/usr\/lib\/jvm\/java-17-openjdk\/lib\/server:\/usr\/lib\/jvm\/java-17-openjdk\/lib' /usr/bin/oracle-sqldeveloper
|
||||
|
||||
|
||||
# Create a service for Marionnet
|
||||
echo "[Unit]
|
||||
Description=Daemon for Marionnet
|
||||
|
Loading…
Reference in New Issue
Block a user