Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Java
(view source)
Revision as of 07:12, 29 April 2022
237 bytes added
,
07:12, 29 April 2022
m
→Eclipse shortcuts
Line 3:
Line 3:
===With apt===
===With apt===
<nowiki>sudo apt-add-repository ppa:webupd8team/java
<nowiki>sudo apt-add-repository ppa:webupd8team/java
−
sudo apt-get update
+
sudo apt-get update
−
sudo apt-get install oracle-java8-installer</nowiki>
+
sudo apt-get install oracle-java8-installer</nowiki>
Also ensure your JAVA_HOME variable has been set to:
Also ensure your JAVA_HOME variable has been set to:
Line 1,484:
Line 1,484:
</syntaxhighlight>
</syntaxhighlight>
+
==== module-info.java ====
+
requires: allows usage of other modules
+
+
requires transitive: allows usage of other modules and modules that use this module will also have access to it
+
+
exports: allows other packages to use your classes
+
<br />
==Sort strings==
==Sort strings==
<syntaxhighlight lang="java">
<syntaxhighlight lang="java">
Line 1,508:
Line 1,515:
</syntaxhighlight>
</syntaxhighlight>
−
== Logger ==
+
==Logger==
<syntaxhighlight lang="java">
<syntaxhighlight lang="java">
import java.util.logging.Logger
import java.util.logging.Logger
Line 1,545:
Line 1,552:
Hibernate → Java ORM framework for web design
Hibernate → Java ORM framework for web design
−
== java cli ==
+
==java cli==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# Compile class
# Compile class
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version