Editing
Tutorials/Setting up a server
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Java == [[Wikipedia:Java (programming language)|Java]] is a programming language designed to create programs for the [[Wikipedia:Java virtual machine|Java Virtual Machine]] (JVM). The JVM supports many different platforms. By doing this, developers write code for the JVM and any platform supported by the JVM can run the program. [https://www.javaworld.com/article/3272244/what-is-the-jvm-introducing-the-java-virtual-machine.html Further reading.(Remote shell port)] This section is designed to answer some frequently asked questions about Java and guide you through some decisions regarding Java. ==== OpenJDK vs OracleJDK ==== OpenJDK and OracleJDK are very similar. OpenJDK is the official open source [[Wikipedia:Reference implementation|reference implementation]] of Java. OpenJDK is an open source codebase that almost all other JDKs are built on. Excluding packaging, cosmetic and license differences [https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html OpenJDK is the same as OracleJDK]. Do note that OracleJDK (Oracle's "OTN") builds require a paid subscription for [https://www.carehart.org/blog/client/index.cfm/2019/1/1/how_oracles_java_change_applies_to_any_production_use commercial and production] purposes. This likely includes running a ''Minecraft'' server even if it is non-profit. Oracle does provide its own OpenJDK builds, but they are not packed into an installer format for easy use. ==== JRE vs JDK ==== JRE stand for [https://www.javaworld.com/article/3304858/what-is-the-jre-introduction-to-the-java-runtime-environment.html '''J'''ava '''R'''untime '''E'''nvironment]. JDK stands for [https://www.javaworld.com/article/3296360/what-is-the-jdk-introduction-to-the-java-development-kit.html '''J'''ava '''D'''evelopment '''K'''it]. JRE is a package tool designed to ''run'' Java programs. JDK is a package of tools designed to ''develop'' Java programs. The JDK comes with the JRE which comes with the [https://www.javaworld.com/article/3272244/what-is-the-jvm-introducing-the-java-virtual-machine.html JVM]. If you have JDK then you have JRE and JVM. Vanilla ''Minecraft'' does not need JDK, but plugins may require it. ==== Headless Java ==== A headless Java installation is a trimmed down version of Java. It does not have a GUI or mouse/keyboard support. Headless Java is frequently used in Servers or other environments where a GUI is not needed. {{Quote|There are several virtual packages used in Debian for Java. These cover runtime compatibility and come in two flavors; headless (omits graphical interfaces) and normal.|[https://wiki.debian.org/Java/ Debian Wiki]}}
Summary:
Please note that all contributions to Kiiw may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Kiiw:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information