Skip to content

Technic Launcher guide

Paint_Ninja edited this page Jun 11, 2022 · 16 revisions

Memory

Step 1) Click "Launcher Options ⚙"

Step 2) Click "JAVA SETTINGS"

More allocated RAM recommended/required

Follow steps 1 and 2 here

Step 3) Next to "Memory", click on the dropdown and pick a higher number

If you can't go higher than 1GB, you need 64bit Java.

Less allocated RAM recommended/required

Follow steps 1 and 2 here

Step 3) Next to "Memory", click on the dropdown and pick a lower number

Java

Step 1) Click "Launcher Options ⚙"

Step 2) Click "JAVA SETTINGS"

Step 3a) Next to "Minecraft Java Version", click on the dropdown

Step 4) Only if using Minecraft 1.16.5 and Java 16+: Copy and paste this into the "Java Args": -XX:+IgnoreUnrecognizedVMOptions --add-exports=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED

64bit Java recommended/required

Follow steps 1 through 3a here.

Step 3b) Pick a version that has the word "64-Bit" at the end

If you can't see one with "64-Bit", go to the troubleshooting section.

Java x or older recommended/required

Follow steps 1 through 3a here.

Step 3b) Pick a version from the dropdown that is x or older

Example: if it says it wants "Java 14 or older" then pick one from the list that is version 14 or lower. If it says "Java 8 or older", pick one that is version 1.8 or lower.

If you can't see the version you need, go to the troubleshooting section.

Java x+ recommended/required

Follow steps 1 through 3a here.

Step 3b) Pick a version from the dropdown that is x or newer

Example: if it says it wants "Java 11+" then pick one from the list that is version 11 or higher. If it says "Java 8 or newer", pick one that is version 1.8 or 9/10/11/12/etc...

If you can't see the version you need, go to the troubleshooting section.

Troubleshooting

The version I need is not showing up in the dropdown

First, make sure you've downloaded and installed the version you need in the "How to get Java" section

Step 1) Click "Launcher Options ⚙"

Step 2) Click "JAVA SETTINGS"

Step 3) Click the "Find Another Version" button

Step 4) Click on "This PC" -> "Local Disk (C:)" (or where you installed Java) -> "Program Files" -> "Zulu" -> (the version you want to add) -> "bin"

Step 5) Click on javaw

Step 6) Click on "Open"

It should now show up in the dropdown as "OpenJDK (version) 64-Bit"

What version of Java do I need?

The error/warning message should tell you, for example:

If it just says "64bit Java" but doesn't say the version, assume the same version as you're currently using.

If the game won't start at all, check that you started it with a supported version:

Minecraft version Minimum supported Java version Maximum supported Java version
1.18-1.19 17 ?
1.17 16 ?
1.16.5 8 18*
1.16.4 8 15
1.15-1.16.3 8 14
1.13-1.14 8 10
1.12 8 8
1.2.5-1.11 6 8

*Needs custom Java args to run on Java 16 - see step 4 of the Java section. Works out of the box with Java 15.

How to get Java

Windows

Step 1) Open Windows Terminal (you can get it here if you don't already have it)

Step 2) Type WinGet install --exact Azul.Zulu.17 and hit enter, replacing the 17 at the end with the version of Java you want.

For example, to install Java 11, run WinGet install --exact Azul.Zulu.11

Note: For Java 14, you'll need to replace Azul.Zulu. with AdoptOpenJDK.OpenJDK

macOS

Click here to go to the Java download page for macOS

Step 1) Choose the version of Java you need

Step 2) For the architecture dropdown, select "x86 64-bit" for Intel Macs and "ARM 64-bit" for Apple Silicon Macs (such as the Apple M1)

Tip: If you're using an Apple Silicon Mac and can't find or select an "ARM 64-bit" architecture for your chosen Java version, use the "x86 64-bit" instead and rely on Rosetta 2

Step 3) Download the first .dmg at the top of the list and install it

Linux

Use your preferred package manager to install the version of Java you need for your distro. Comprehensive details are omitted due to the large variety of Linux distros that each have their own separate ways of doing things, but here's some instructions for a couple of popular ones:

Debian (also: Ubuntu, Linux Mint, Pop!_ OS)

Step 1) Open a new Terminal or Shell

Step 2) Add the Zulu repo keys by running the following command in the terminal:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9

Step 3) Add the Zulu repository so that we can find and install packages from them:

sudo apt-add-repository 'deb http://repos.azulsystems.com/ubuntu stable main'

Step 4) Fetch the latest package lists from the installed Aptitude repositories, including the one we just added:

sudo apt update

Without this, Aptitude will be unaware of the Zulu repo we just added.

Step 5) Run sudo apt install zulu-(version), replacing (version) with the Java version you want (e.g. zulu-17 for Java 17, zulu-8 for Java 8, etc...)

BSD

OpenBSD

Method 1: Pre-compiled JDK packages

Step 1) Use pkg_info -Q jdk to get a list of pre-compiled JDK packages. The output should look something like this:

debug-jdk-1.8.0.302.b08.1p0v0
debug-jdk-11.0.12.7.1v0
debug-jdk-16.0.2.7.1v0
jdk-1.8.0.302.b08.1p0v0
jdk-11.0.12.7.1v0
jdk-16.0.2.7.1v0

If the Java version you want isn't listed, you'll need to use Method 2 instead.

Step 2) Install with pkg_add (pkg name), using one of the package names listed earlier. For example, pkg_add jdk-1.8.0.302.b08.1p0v0

Method 2: Compiling a port

This is a long process, but these resources might help: https://www.openbsd.org/faq/ports/ports.html and https://en.m.wikibooks.org/wiki/Guide_to_Unix/BSD/OpenBSD/As_a_Desktop#Using_ports

FreeBSD

Step 1) Use pkg search jdk to get a list of pre-compiled JDK packages. It should look something like this:

bootstrap-openjdk11-11.0.5.10.1
bootstrap-openjdk8-r450802_2
openjdk11-11.0.13+8.1
openjdk11-jre-11.0.13+8.1
openjdk17-17.0.1+12.1
openjdk8-8.312.07.1
openjdk8-jre-8.312.07.1

Step 2) Install with pkg install (pkg name), using one of the package names listed earlier. For example, pkg install openjdk17-17.0.1+12.1

Step 3) Mount the filesystems OpenJDK needs for full functionality:

mount -t fdescfs fdesc /dev/fd
mount -t procfs proc /proc

Step 4) Make the mount changes permanent so they're not lost on reboot by editing the text file /etc/fstab and inserting the following:

fdesc   /dev/fd     fdescfs     rw  0   0
proc    /proc       procfs      rw  0   0

Step 5) Run rehash