Criar pacote java oracle .deb







# apt-get update && apt-get install java-package && exit

$ make-jpkg jre*.tar.gz
$ su
# dpkg -i oracle*.deb
# cd /usr/lib/mozilla/plugins
# ln -s /usr/lib/jvm/jre-8-oracle-x64/lib/amd64/libnpjp2.so
 
############################################################### 
# opcional
# apt-get remove --purge openjdk-*
# apt-get autoremove --purge -y 
###############################################################


# update-alternatives --config java 

Escolha o número adequado para a alternativa desejada. 
O binário java adequada será automaticamente no PATH em virtude
de a alternativa link simbólico /usr/bin/java.

java -version

criar atalho 

nano /usr/share/applications/java.desktop

[Desktop Entry]
Name=Java Web Control Panel
Comment=Configure java (javaws and plugin)
Exec=/usr/bin/ControlPanel
Icon=/usr/lib/jvm/jre-8-oracle-x64/plugin/desktop/sun_java.png
Terminal=false
Type=Application
Categories=Settings;

Comentários

Postagens mais visitadas deste blog

Roteador Modelo HGW-2501GNP-RC da Vivo

Login automático LXDE

Login automático debian