Difference between revisions of "Java"

From DUNE
Jump to navigation Jump to search
(Created page with "=Java= ==Version== <pre> java -XshowSettings:properties -version </pre> ==IDE== Bundled IDEs on Ubuntu: <pre> sudo apt install ubuntu-make </pre> Or, for IntelliJ: <pre> sud...")
 
Line 1: Line 1:
=Java=
+
=Basics=
 
==Version==
 
==Version==
 
<pre>
 
<pre>
 
java -XshowSettings:properties -version
 
java -XshowSettings:properties -version
 
</pre>
 
</pre>
 
==IDE==
 
Bundled IDEs on Ubuntu:
 
<pre>
 
sudo apt install ubuntu-make
 
</pre>
 
 
Or, for IntelliJ:
 
<pre>
 
sudo add-apt-repository ppa:mmk2410/intellij-idea-community
 
sudo apt-get update
 
sudo apt-get install intellij-idea-community
 
</pre>
 
 
 
==JDK==
 
==JDK==
 
===From deb===
 
===From deb===
Line 30: Line 16:
 
</pre>
 
</pre>
  
==Location==
+
===Location===
 
Likely location of the JDK:
 
Likely location of the JDK:
 
<pre>
 
<pre>
 
/usr/lib/jvm
 
/usr/lib/jvm
 +
</pre>
 +
 +
 +
 +
==IDE==
 +
Bundled IDEs on Ubuntu:
 +
<pre>
 +
sudo apt install ubuntu-make
 +
</pre>
 +
 +
Or, for IntelliJ:
 +
<pre>
 +
sudo add-apt-repository ppa:mmk2410/intellij-idea-community
 +
sudo apt-get update
 +
sudo apt-get install intellij-idea-community
 
</pre>
 
</pre>

Revision as of 00:11, 17 November 2018

Basics

Version

java -XshowSettings:properties -version

JDK

From deb

sudo apt install ./Downloads/jdk-11.0.1_linux-x64_bin.deb

Through apt-get

sudo apt-get update
sudo apt-get install default-jdk

Location

Likely location of the JDK:

/usr/lib/jvm


IDE

Bundled IDEs on Ubuntu:

sudo apt install ubuntu-make

Or, for IntelliJ:

sudo add-apt-repository ppa:mmk2410/intellij-idea-community
sudo apt-get update
sudo apt-get install intellij-idea-community