[{"data":1,"prerenderedAt":657},["ShallowReactive",2],{"navigation_docs_en":3,"-en-help-java":259,"-en-help-java-surround":652},[4,38,110,190,232],{"title":5,"icon":6,"path":7,"stem":8,"children":9},"Getting started","i-lucide-rocket","\u002Fen\u002Fgetting-started","en\u002F1.getting-started\u002Findex",[10,13,18,23,28,33],{"title":11,"path":7,"stem":8,"icon":12},"Overview","i-lucide-layout-grid",{"title":14,"path":15,"stem":16,"icon":17},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F1.getting-started\u002F01.installation","i-lucide-download",{"title":19,"path":20,"stem":21,"icon":22},"Sign in","\u002Fen\u002Fgetting-started\u002Fsign-in","en\u002F1.getting-started\u002F02.sign-in","i-lucide-log-in",{"title":24,"path":25,"stem":26,"icon":27},"Your first instance","\u002Fen\u002Fgetting-started\u002Ffirst-instance","en\u002F1.getting-started\u002F03.first-instance","i-lucide-play",{"title":29,"path":30,"stem":31,"icon":32},"Android: install the APK","\u002Fen\u002Fgetting-started\u002Fandroid","en\u002F1.getting-started\u002F04.android","i-lucide-smartphone",{"title":34,"path":35,"stem":36,"icon":37},"iPhone\u002FiPad: install with AltStore\u002FSideStore","\u002Fen\u002Fgetting-started\u002Fiphone-ipad","en\u002F1.getting-started\u002F05.iphone-ipad","i-lucide-tablet-smartphone",{"title":39,"icon":40,"path":41,"stem":42,"children":43},"Launcher","i-lucide-app-window","\u002Fen\u002Flauncher","en\u002F2.launcher\u002Findex",[44,45,50,55,60,65,70,75,80,85,90,95,100,105],{"title":11,"path":41,"stem":42,"icon":12},{"title":46,"path":47,"stem":48,"icon":49},"Instances","\u002Fen\u002Flauncher\u002Finstances","en\u002F2.launcher\u002F01.instances","i-lucide-boxes",{"title":51,"path":52,"stem":53,"icon":54},"Mod loaders","\u002Fen\u002Flauncher\u002Fmod-loaders","en\u002F2.launcher\u002F02.mod-loaders","i-lucide-layers",{"title":56,"path":57,"stem":58,"icon":59},"Mods","\u002Fen\u002Flauncher\u002Fmods","en\u002F2.launcher\u002F03.mods","i-lucide-puzzle",{"title":61,"path":62,"stem":63,"icon":64},"Modpacks","\u002Fen\u002Flauncher\u002Fmodpacks","en\u002F2.launcher\u002F04.modpacks","i-lucide-package",{"title":66,"path":67,"stem":68,"icon":69},"Share modpacks","\u002Fen\u002Flauncher\u002Fshare-modpacks","en\u002F2.launcher\u002F05.share-modpacks","i-lucide-share-2",{"title":71,"path":72,"stem":73,"icon":74},"Import from other launchers","\u002Fen\u002Flauncher\u002Fimport","en\u002F2.launcher\u002F06.import","i-lucide-folder-input",{"title":76,"path":77,"stem":78,"icon":79},"Clips & screenshots","\u002Fen\u002Flauncher\u002Fclips","en\u002F2.launcher\u002F07.clips","i-lucide-clapperboard",{"title":81,"path":82,"stem":83,"icon":84},"Friends & chat","\u002Fen\u002Flauncher\u002Fsocial","en\u002F2.launcher\u002F08.social","i-lucide-messages-square",{"title":86,"path":87,"stem":88,"icon":89},"Achievements","\u002Fen\u002Flauncher\u002Fachievements","en\u002F2.launcher\u002F09.achievements","i-lucide-trophy",{"title":91,"path":92,"stem":93,"icon":94},"Skins & capes","\u002Fen\u002Flauncher\u002Fwardrobe","en\u002F2.launcher\u002F10.wardrobe","i-lucide-shirt",{"title":96,"path":97,"stem":98,"icon":99},"Settings","\u002Fen\u002Flauncher\u002Fsettings","en\u002F2.launcher\u002F11.settings","i-lucide-settings",{"title":101,"path":102,"stem":103,"icon":104},"Updates","\u002Fen\u002Flauncher\u002Fupdates","en\u002F2.launcher\u002F12.updates","i-lucide-refresh-cw",{"title":106,"path":107,"stem":108,"icon":109},"Servers","\u002Fen\u002Flauncher\u002Fservers","en\u002F2.launcher\u002F13.servers","i-lucide-server",{"title":111,"icon":112,"path":113,"stem":114,"children":115},"TRS Client","i-lucide-blocks","\u002Fen\u002Fclient","en\u002F3.client\u002Findex",[116,117,121,126,131,136,141,146,151,156,160,165,170,175,180,185],{"title":11,"path":113,"stem":114,"icon":12},{"title":118,"path":119,"stem":120,"icon":112},"What is the TRS Client?","\u002Fen\u002Fclient\u002Foverview","en\u002F3.client\u002F01.overview",{"title":122,"path":123,"stem":124,"icon":125},"TRS menu and HUD editor","\u002Fen\u002Fclient\u002Fmenu-and-hud-editor","en\u002F3.client\u002F02.menu-and-hud-editor","i-lucide-layout-dashboard",{"title":127,"path":128,"stem":129,"icon":130},"Performance and FPS","\u002Fen\u002Fclient\u002Fperformance","en\u002F3.client\u002F03.performance","i-lucide-gauge",{"title":132,"path":133,"stem":134,"icon":135},"PvP modules","\u002Fen\u002Fclient\u002Fpvp","en\u002F3.client\u002F04.pvp","i-lucide-swords",{"title":137,"path":138,"stem":139,"icon":140},"Zoom, freelook and toggle sprint","\u002Fen\u002Fclient\u002Fzoom-and-freelook","en\u002F3.client\u002F05.zoom-and-freelook","i-lucide-zoom-in",{"title":142,"path":143,"stem":144,"icon":145},"Minimap, waypoints and world map","\u002Fen\u002Fclient\u002Fminimap-and-world-map","en\u002F3.client\u002F06.minimap-and-world-map","i-lucide-map",{"title":147,"path":148,"stem":149,"icon":150},"Redstone tools","\u002Fen\u002Fclient\u002Fredstone-tools","en\u002F3.client\u002F07.redstone-tools","i-lucide-zap",{"title":152,"path":153,"stem":154,"icon":155},"Circuit library","\u002Fen\u002Fclient\u002Fcircuit-library","en\u002F3.client\u002F08.circuit-library","i-lucide-cpu",{"title":157,"path":158,"stem":159,"icon":94},"Emotes, capes, wardrobe and accounts","\u002Fen\u002Fclient\u002Femotes-and-capes","en\u002F3.client\u002F09.emotes-and-capes",{"title":161,"path":162,"stem":163,"icon":164},"Screenshots, clips and panoramas","\u002Fen\u002Fclient\u002Fscreenshots-and-clips","en\u002F3.client\u002F10.screenshots-and-clips","i-lucide-camera",{"title":166,"path":167,"stem":168,"icon":169},"World notes","\u002Fen\u002Fclient\u002Fnotes","en\u002F3.client\u002F11.notes","i-lucide-notebook-pen",{"title":171,"path":172,"stem":173,"icon":174},"Chat and comfort","\u002Fen\u002Fclient\u002Fchat-and-comfort","en\u002F3.client\u002F12.chat-and-comfort","i-lucide-message-square",{"title":176,"path":177,"stem":178,"icon":179},"Social in game","\u002Fen\u002Fclient\u002Fsocial-in-game","en\u002F3.client\u002F13.social-in-game","i-lucide-users",{"title":181,"path":182,"stem":183,"icon":184},"Default keys","\u002Fen\u002Fclient\u002Fkeybinds","en\u002F3.client\u002F14.keybinds","i-lucide-keyboard",{"title":186,"path":187,"stem":188,"icon":189},"Host a world for friends","\u002Fen\u002Fclient\u002Fworld-hosting","en\u002F3.client\u002F15.world-hosting","i-lucide-globe",{"title":191,"icon":192,"path":193,"stem":194,"children":195},"Help","i-lucide-life-buoy","\u002Fen\u002Fhelp","en\u002F4.help\u002Findex",[196,197,202,207,212,217,222,227],{"title":11,"path":193,"stem":194,"icon":12},{"title":198,"path":199,"stem":200,"icon":201},"Crash helper","\u002Fen\u002Fhelp\u002Fcrash-helper","en\u002F4.help\u002F01.crash-helper","i-lucide-heart-pulse",{"title":203,"path":204,"stem":205,"icon":206},"Common problems","\u002Fen\u002Fhelp\u002Fcommon-problems","en\u002F4.help\u002F02.common-problems","i-lucide-circle-help",{"title":208,"path":209,"stem":210,"icon":211},"Java & memory","\u002Fen\u002Fhelp\u002Fjava","en\u002F4.help\u002F03.java","i-lucide-coffee",{"title":213,"path":214,"stem":215,"icon":216},"Linux","\u002Fen\u002Fhelp\u002Flinux","en\u002F4.help\u002F04.linux","i-lucide-terminal",{"title":218,"path":219,"stem":220,"icon":221},"Logs","\u002Fen\u002Fhelp\u002Flogs","en\u002F4.help\u002F05.logs","i-lucide-scroll-text",{"title":223,"path":224,"stem":225,"icon":226},"Report a bug","\u002Fen\u002Fhelp\u002Freport-a-bug","en\u002F4.help\u002F06.report-a-bug","i-lucide-bug",{"title":228,"path":229,"stem":230,"icon":231},"Privacy","\u002Fen\u002Fhelp\u002Fprivacy","en\u002F4.help\u002F07.privacy","i-lucide-shield-check",{"title":233,"icon":234,"path":235,"stem":236,"children":237},"Developers","i-lucide-code-xml","\u002Fen\u002Fdevelopers","en\u002F5.developers\u002Findex",[238,239,244,249,254],{"title":11,"path":235,"stem":236,"icon":12},{"title":240,"path":241,"stem":242,"icon":243},"Build from source","\u002Fen\u002Fdevelopers\u002Fbuild-from-source","en\u002F5.developers\u002F01.build-from-source","i-lucide-hammer",{"title":245,"path":246,"stem":247,"icon":248},"Contributing","\u002Fen\u002Fdevelopers\u002Fcontributing","en\u002F5.developers\u002F02.contributing","i-lucide-git-pull-request",{"title":250,"path":251,"stem":252,"icon":253},"Translating","\u002Fen\u002Fdevelopers\u002Ftranslating","en\u002F5.developers\u002F03.translating","i-lucide-languages",{"title":255,"path":256,"stem":257,"icon":258},"Public API","\u002Fen\u002Fdevelopers\u002Fpublic-api","en\u002F5.developers\u002F04.public-api","i-lucide-braces",{"id":260,"title":208,"body":261,"description":645,"extension":646,"links":647,"meta":648,"navigation":649,"path":209,"seo":650,"stem":210,"__hash__":651},"docs_en\u002Fen\u002F4.help\u002F03.java.md",{"type":262,"value":263,"toc":631},"minimark",[264,268,273,325,333,337,340,376,380,387,391,457,466,505,511,526,530,536,574,580,584,587,591],[265,266,267],"p",{},"Minecraft: Java Edition needs Java. You don't have to install it: the launcher downloads the right Java runtime from\nMojang for every Minecraft version – the same builds the official launcher uses.",[269,270,272],"h2",{"id":271},"which-java-for-which-version","Which Java for which version",[274,275,276,289],"table",{},[277,278,279],"thead",{},[280,281,282,286],"tr",{},[283,284,285],"th",{},"Minecraft",[283,287,288],{},"Java",[290,291,292,301,309,317],"tbody",{},[280,293,294,298],{},[295,296,297],"td",{},"up to 1.16",[295,299,300],{},"Java 8",[280,302,303,306],{},[295,304,305],{},"1.17 to 1.20.4",[295,307,308],{},"Java 17",[280,310,311,314],{},[295,312,313],{},"1.20.5 to 1.21.x",[295,315,316],{},"Java 21",[280,318,319,322],{},[295,320,321],{},"26.x",[295,323,324],{},"Java 25",[265,326,327,328,332],{},"The launcher reads the required version from Mojang's version data and installs the matching runtime the first time\nyou launch. The runtimes are stored in the ",[329,330,331],"code",{},"java"," folder of the launcher data and shared by all instances.",[269,334,336],{"id":335},"which-java-is-used","Which Java is used",[265,338,339],{},"The launcher looks for a Java setting in this order and takes the first one that is set:",[341,342,343,354,364,370],"ol",{},[344,345,346,350,351,353],"li",{},[347,348,349],"strong",{},"The instance",": a custom Java path in the instance settings → ",[347,352,208],{},".",[344,355,356,359,360,363],{},[347,357,358],{},"The Java slot for that version",": ",[347,361,362],{},"Settings → Java installations",", one entry each for Java 8, 17, 21 and 25.",[344,365,366,369],{},[347,367,368],{},"\"For all versions\"",": one Java path in the same section, for everything.",[344,371,372,375],{},[347,373,374],{},"Automatic",": nothing set – the launcher installs and uses Mojang's runtime.",[377,378,379],"tip",{},"Leave everything empty unless you have a reason. Automatic always picks the right version.",[265,381,382],{},[383,384],"img",{"alt":385,"src":386},"Settings, Java installations","\u002Fshots\u002Fhelp\u002Fjava-settings.png",[269,388,390],{"id":389},"using-your-own-java","Using your own Java",[392,393,395,400,413,417,424,450,454],"steps",{"level":394},"3",[396,397,399],"h3",{"id":398},"open-the-java-settings","Open the Java settings",[265,401,402,403,405,406,408,409,412],{},"Go to ",[347,404,362],{}," for all instances, or to the instance settings → ",[347,407,208],{}," for one\ninstance (turn on ",[347,410,411],{},"Custom Java and memory settings"," there).",[396,414,416],{"id":415},"pick-a-java","Pick a Java",[265,418,419,420,423],{},"Press ",[347,421,422],{},"Detect"," to list the Java installations on your PC, or enter the path yourself. The path must point to the\nJava program itself:",[425,426,427,442],"tabs",{},[428,429,431,434,435,438,439,353],"tabs-item",{"label":430},"Windows",[329,432,433],{},"java.exe"," or ",[329,436,437],{},"javaw.exe",", for example ",[329,440,441],{},"C:\\Program Files\\Eclipse Adoptium\\jdk-21…\\bin\\javaw.exe",[428,443,444,438,447,353],{"label":213},[329,445,446],{},"…\u002Fbin\u002Fjava",[329,448,449],{},"\u002Fusr\u002Flib\u002Fjvm\u002Fjava-21-openjdk\u002Fbin\u002Fjava",[396,451,453],{"id":452},"check-the-version","Check the version",[265,455,456],{},"The launcher shows which Java version it found. A warning like \"Java 17 – Java 21 is expected here\" means the version\ndoesn't match the slot.",[265,458,459,461,462,465],{},[347,460,422],{}," searches the launcher's own runtimes, ",[329,463,464],{},"JAVA_HOME"," and the usual install folders:",[467,468,469,481],"ul",{},[344,470,471,473,474,477,478,353],{},[347,472,430],{},": Program Files (Adoptium, Microsoft, Zulu, BellSoft, Amazon Corretto, Semeru and others),\n",[329,475,476],{},"%LOCALAPPDATA%\\Programs"," and ",[329,479,480],{},"%USERPROFILE%\\.jdks",[344,482,483,359,485,488,489,488,492,488,495,498,499,477,502,353],{},[347,484,213],{},[329,486,487],{},"\u002Fusr\u002Flib\u002Fjvm",", ",[329,490,491],{},"\u002Fusr\u002Flib64\u002Fjvm",[329,493,494],{},"\u002Fusr\u002Fjava",[329,496,497],{},"\u002Fopt",", SDKMAN, ",[329,500,501],{},"~\u002F.jdks",[329,503,504],{},"~\u002F.local\u002Fshare\u002Fjdks",[265,506,507,510],{},[347,508,509],{},"Install recommended"," next to a slot downloads Mojang's runtime for it.",[512,513,514,515,519,520,434,523,353],"warning",{},"A wrong Java version is one of the most common crash causes. If a game crashes after you set your own Java, the\n",[516,517,518],"a",{"href":199},"crash helper"," offers ",[347,521,522],{},"Choose Java automatically",[347,524,525],{},"Use Java …",[269,527,529],{"id":528},"memory-ram","Memory (RAM)",[265,531,532,535],{},[347,533,534],{},"Settings → Default settings → Memory"," sets the most RAM a game may use. New installations start with a value that\nfits your PC:",[274,537,538,548],{},[277,539,540],{},[280,541,542,545],{},[283,543,544],{},"RAM in your PC",[283,546,547],{},"Default for the game",[290,549,550,558,566],{},[280,551,552,555],{},[295,553,554],{},"16 GB or more",[295,556,557],{},"6 GB",[280,559,560,563],{},[295,561,562],{},"8 to 15 GB",[295,564,565],{},"4 GB",[280,567,568,571],{},[295,569,570],{},"less than 8 GB",[295,572,573],{},"half of it, at least 2 GB",[265,575,576,577,579],{},"You can change it per instance in the instance settings → ",[347,578,208],{},". Values from 512 MB to 128 GB are allowed.",[581,582,583],"note",{},"More isn't always better. More than half of your computer's memory rarely makes sense – the rest of the system needs\nmemory too, and when it runs short, the game stutters. Big modpacks and shaders need more, vanilla needs less.",[265,585,586],{},"If the game runs out of memory, the crash helper suggests a better value and sets it with one click.",[269,588,590],{"id":589},"advanced","Advanced",[467,592,593,603,609,615,621],{},[344,594,595,598,599,602],{},[347,596,597],{},"Minimum memory"," (",[329,600,601],{},"-Xms",") in the default settings: the start value for Java.",[344,604,605,608],{},[347,606,607],{},"JVM arguments",": extra arguments for Java, separated by spaces – globally or per instance.",[344,610,611,614],{},[347,612,613],{},"FPS boost at launch",": tuned Java settings for your Java version and memory (G1; from 12 GB with Java 21 or newer,\nthe generational ZGC; memory reserved up front). Your own JVM arguments win where they overlap.",[344,616,617,620],{},[347,618,619],{},"High-performance graphics card",": the game uses the dedicated graphics card on laptops. It only applies to the\nlauncher's own Java.",[344,622,623,626,627,630],{},[347,624,625],{},"Allow Java versions automatically"," (Windows, ",[347,628,629],{},"Settings → Network","): otherwise Windows asks for every Java\nversion whether Minecraft may use the network, for example for LAN worlds.",{"title":632,"searchDepth":633,"depth":633,"links":634},"",2,[635,636,637,643,644],{"id":271,"depth":633,"text":272},{"id":335,"depth":633,"text":336},{"id":389,"depth":633,"text":390,"children":638},[639,641,642],{"id":398,"depth":640,"text":399},3,{"id":415,"depth":640,"text":416},{"id":452,"depth":640,"text":453},{"id":528,"depth":633,"text":529},{"id":589,"depth":633,"text":590},"How the launcher picks and installs Java by itself, how to use your own Java, and how much RAM to give the game.","md",null,{},{"icon":211},{"title":208,"description":645},"8E_VYdoiLoDHa6egLPL6FKMzt_-8qdaT3Z59P-dTUFo",[653,655],{"title":203,"path":204,"stem":205,"description":654,"icon":206,"children":-1},"Sign-in errors, failed downloads, slow modpacks, games that don't start, black windows, low FPS – and what the launcher's error messages mean.",{"title":213,"path":214,"stem":215,"description":656,"icon":216,"children":-1},"Where the launcher keeps its files on Linux, how sign-in keys are stored, and fixes for blank windows, FUSE, xrandr and laptop graphics.",1791894784410]