User Tools

Site Tools


java_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
java_notes [2021/05/29 22:41] – created rajujava_notes [2021/05/29 22:59] (current) raju
Line 1: Line 1:
-=== Install and setup Java ===+==== Install and setup Java ====
   * Setup directories   * Setup directories
 <code> <code>
Line 6: Line 6:
  
   * Download Java   * Download Java
-http://www.java.com/en/download/linux_manual.jsp → scroll to the bottom → click link under "Linux x64" → jre-8u271-linux-x64.tar.gz+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 Move the tar.gz file into ~/software/zipped/java
Line 13: Line 14:
 <code> <code>
 cd ~/software/unZipped cd ~/software/unZipped
-tar xzvf ~/software/zipped/java/jre-8u271-linux-x64.tar.gz -C .+tar xzvf ~/software/zipped/java/jre-8u291-linux-x64.tar.gz -C .
 </code> </code>
  
Line 19: Line 20:
 <code> <code>
 # For Java # For Java
-export PATH=$HOME/software/unZipped/jre1.8.0_271/bin:$PATH+export PATH=$HOME/software/unZipped/jre1.8.0_291/bin:$PATH
 </code> </code>
  
-=== run jnlp files ===+==== run jnlp files ====
  
 use javaws use javaws
Line 31: Line 32:
 </code> </code>
  
-=== where is jconsole ===+==== where is jconsole ====
  
 It comes as part of java installation. Sample location C:\Program Files\Java\jdk1.8.0_161\bin\jconsole.exe 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 ===+==== What is the difference between jmc and jconsole ====
  
 jconsole is light weight compared to jmc. jconsole is light weight compared to jmc.
 +
java_notes.1622328070.txt.gz · Last modified: 2021/05/29 22:41 by raju