[B#695] Running /usr/bin/env __VK_LAYER_NV_optimus=NVIDIA_only __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia /media/sergio/SAMSUNG/Games/Technic/technic/runtimes/jre-legacy/bin/java -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -Xms6144m -Xmx6144m -Djava.library.path=/media/sergio/SAMSUNG/Games/Technic/technic/modpacks/yaopack/bin/natives -Dfml.core.libraries.mirror=http://mirror.technicpack.net/Technic/lib/fml/%s -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true -Dminecraft.applet.TargetDirectory=/media/sergio/SAMSUNG/Games/Technic/technic/modpacks/yaopack -Duser.language=en -cp /media/sergio/SAMSUNG/Games/Technic/technic/cache/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/ow2/asm/asm-all/5.2/asm-all-5.2.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/jline/jline/3.5.1/jline-3.5.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/typesafe/config/1.2.1/config-1.2.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/lzma/lzma/0.0.1/lzma-0.0.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/java3d/vecmath/1.5.2/vecmath-1.5.2.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/apache/maven/maven-artifact/3.5.3/maven-artifact-3.5.3.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/mojang/patchy/1.2.3/patchy-1.2.3.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/google/guava/guava/21.0/guava-21.0.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/commons-io/commons-io/2.5/commons-io-2.5.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/mojang/authlib/1.5.25/authlib-1.5.25.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/mojang/realms/1.10.22/realms-1.10.22.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar:/media/sergio/SAMSUNG/Games/Technic/technic/cache/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar:/media/sergio/SAMSUNG/Games/Technic/technic/modpacks/yaopack/bin/modpack.jar:/media/sergio/SAMSUNG/Games/Technic/technic/modpacks/yaopack/bin/minecraft.jar net.minecraft.launchwrapper.Launch --username SSUPII --version 1.12.2-forge1.12.2-14.23.5.2847 --gameDir /media/sergio/SAMSUNG/Games/Technic/technic/modpacks/yaopack --assetsDir /media/sergio/SAMSUNG/Games/Technic/technic/assets --assetIndex 1.12 --uuid fa853c13452d4997aa70f4baf536b695 --accessToken redacted --userType mojang --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --versionType Forge --title Yao Pack --icon /media/sergio/SAMSUNG/Games/Technic/technic/assets/packs/yaopack/icon.png
[B#695] java.io.IOException: Cannot run program "/usr/bin/env __VK_LAYER_NV_optimus=NVIDIA_only __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia" (in directory "/media/sergio/SAMSUNG/Games/Technic/technic/modpacks/yaopack"): error=2, File o directory non esistente
[B#695] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
[B#695] at net.technicpack.minecraftcore.launch.MinecraftLauncher.launch(MinecraftLauncher.java:97)
[B#695] at net.technicpack.launcher.launch.Installer$1.run(Installer.java:174)
[B#695] at java.lang.Thread.run(Thread.java:748)
[B#695] Caused by: java.io.IOException: error=2, File o directory non esistente
[B#695] at java.lang.UNIXProcess.forkAndExec(Native Method)
[B#695] at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
[B#695] at java.lang.ProcessImpl.start(ProcessImpl.java:134)
[B#695] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
[B#695] ... 3 more
Technic Launcher can't find `env` when used as wrapper command. `env` is needed to setup environment variables in Linux systems. `env` is available in the system and can be called by any other program. Both `env` and `/usr/bin/env` (where env is located) seem unavailable when used as wrapper command. In this case the flags are
The launcher will boot Minecraft just fine if no flags are trying to be set, but of course in my case means rendering the game with Intel Mesa drivers.
Question
SSUPII
Technic Launcher can't find `env` when used as wrapper command. `env` is needed to setup environment variables in Linux systems. `env` is available in the system and can be called by any other program. Both `env` and `/usr/bin/env` (where env is located) seem unavailable when used as wrapper command. In this case the flags are
to enable discrete card offloading for Nvidia Optimus laptops.
Launcher console detections
`neofetch` output
The launcher will boot Minecraft just fine if no flags are trying to be set, but of course in my case means rendering the game with Intel Mesa drivers.
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.