Не получается установить среду

Версия Minecraft
1.19.2
API
Forge
Код:
PS C:\Users\Blooode\Desktop\HarderMedicineMod> .\gradlew genEclipseRuns
Picked up _JAVA_OPTIONS: -Xmx10240M
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Java: 18.0.2.1, JVM: 18.0.2.1+1-1 (Oracle Corporation), Arch: amd64
WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task
WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here.  Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula.

Directory 'C:\Program Files\Java\jre1.8.0_281' (Windows Registry) used for java installations does not exist

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 10s
8 actionable tasks: 8 executed
PS C:\Users\Blooode\Desktop\HarderMedicineMod> .\gradlew eclipse
Picked up _JAVA_OPTIONS: -Xmx10240M
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.5/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
Directory 'C:\Program Files\Java\jre1.8.0_281' (Windows Registry) used for java installations does not exist

> Configure project :
Java: 18.0.2.1, JVM: 18.0.2.1+1-1 (Oracle Corporation), Arch: amd64
WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task
WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here.  Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 6s
10 actionable tasks: 5 executed, 5 up-to-date

Решил поставить среду разработки на версию 1.19.2
Написал gradlew genEclipseRuns, была долгая установка, затем gradlew eclipse. Зашёл в эклипс, сменил путь (раньше писал мод для 1.12.2), и ничего не было. В итоге пишу gradlew clean, удаляю всё из папки, ставлю заново, а теперь ничего не устанавливается. И с JAVA_HOME полазил, jdk 18 установил, толку нет.
 
1,074
72
372
Прыгать от радости надо при виде BUILD SUCCESSFUL. И уберите эту гадость (переменную окружения) _JAVA_OPTIONS от советчиков-вредителей – сильно себя в возможностях ограничиваете.
 

necauqua

когда-то был anti344
Администратор
1,216
27
172
сильно себя в возможностях ограничиваете
???
Сказал советчик-вредитель, лол

Но вообще эта переменная применяется вообще для всех запусков жвм, так что ты и грэдлу выделяешь по десять гиг (на лаунчер и на даймон и фиг знает на шо ещё), и гипотетически запускаемому майну и всему прочему.

Так-что лучше это прописать в gradle.properties, нагугли где оно там лежит, туда строчку org.gradle.jvmargs=-Xmx4g (десять гиг это дофига, хотя как знаешь, можешь оставить), а потом отдельно для игры можно отдельно прописать, если надо, где-то в параметрах запуска, типа в build.gradle или в раннере IDE-шки

Эклипс?. уфф, ну почему в него импорт у тебя не сработал я тебе не скажу, чисто гредл вроде работает, build successful же
 
1,074
72
372
Но вообще эта переменная применяется вообще для всех запусков жвм
Собственно это потому является вредительством. У каждого процесса свои требования. Неспроста она появилась, после советов "как выделить память майнкрафту". Хотя это всё в лаунчерах делается.
 
Сверху