User Tools

Site Tools


java_notes

Install and setup Java

  • Setup directories
mkdir -p ~/software/zipped/java ~/software/unZipped
  • Download Java

http://www.java.com/en/download/linux_manual.jsp → scroll to the bottom → click link under “Linux x64” → jre-8u291-linux-x64.tar.gz

Move the tar.gz file into ~/software/zipped/java

  • unzip
cd ~/software/unZipped
tar xzvf ~/software/zipped/java/jre-8u291-linux-x64.tar.gz -C .
  • Add the unzipped directory to PATH in ~/.zshrc
# For Java
export PATH=$HOME/software/unZipped/jre1.8.0_291/bin:$PATH

run jnlp files

use javaws

sudo apt-get install icedtea-netx
javaws foo.jnlp

where is jconsole

It comes as part of java installation. Sample location C:\Program Files\Java\jdk1.8.0_161\bin\jconsole.exe

What is the difference between jmc and jconsole

jconsole is light weight compared to jmc.

java_notes.txt · Last modified: 2021/05/29 22:59 by raju