Describe the bug
.Jar files are universal no? that's what I thought, upon trying to run the jarfile by running sudo chmod +x Terraria \Craft \Installer.jar the file permissions apply successfully, then launching it and installing it into it's own folder works but it fails when I try to launch it properly, once again the file permissions are incorrectly set so another chmod +x later and it gives me a new error, "Failed to locate Java Executable. The launcher would NOT be able to start Minecraft.", clicking "OK" kills the task. this error makes no sense as it is running from a valid Java 8 instance.
To Reproduce
Steps to reproduce the behavior:
In Linux Mint 21.1, install java by running sudo apt install openjdk-8-jdk -y in a terminal.
Insert your password when prompted, then wait for java 8's installation to complete
Once completed, go to the project's Official Webpage and download the Jar file from the site(using the pre-installed firefox web browser).
Next, in that same terminal, navigate to Downloads, (Assuming you havn't moved from installing java, it should just be cd Downloads)
chmod the file (use this command sudo chmod +x Terraria \Craft \Installer.jar or right-click and enable "Mark Executable" under the 'Permissions' tab.
Run the file like any other program, you can close the terminal now btw.
"Install" the file like normal wherever you can find it, DO NOT USE THE DEFAULT DIRECTORY, Documents/TCL is fine.
Go to the install directory (in this case, it is in your Documents folder under TCL) and chmod the TCLauncher.jar file
Execute TCLauncher and experience the error.
Expected behavior
the launcher should just launch like Normal and work like on Windows due to the nature of Jarfiles.
Hardware & Software info (Might be important in some cases)
CPU: 11th Gen Intel i5-11400F (12) @ 4.400GHz
GPU: NVIDIA GeForce RTX 2060 Rev. A
RAM: 16GiB DDR4 2400 MHz (Dual-Channel)
Java: Openjdk version "1.8.0_362" 64-bit Server VM
Additional context
I get that Linux isn't the main crowd here but it IS the future, seeing how microsoft have shot themselves in the foot by discontinuing Win7/8 long before a "Win12" can be released and what else am I supposed to run? MacOS? yeah H*ll no. most people would rather learn linux(you never have to open the terminal in modern linux, you can use the software manager to install synaptic then use that to install java 8 instead it's just faster that way) than to go to a competitor and get sucked into another more expensive ecosystem. not to mention the friendly support forums for inexperienced linux users to ask questions! sorry for all this, I am just justifying the reason I REFUSE to use Windows. I don't think it's got that much longer to live and thanks to Win11's Horrid design choices, I don't want to use it as a daily driver, not to mention it's glaring stability/continuity flaws.
PS. kind of works on wine but that is NOT USER FRIENDLY
PPS. You should NOT pre-package or Pre-installing Java Runtimes, tell users where to find them but don't install it for them.
Describe the bug .Jar files are universal no? that's what I thought, upon trying to run the jarfile by running sudo chmod +x Terraria \Craft \Installer.jar the file permissions apply successfully, then launching it and installing it into it's own folder works but it fails when I try to launch it properly, once again the file permissions are incorrectly set so another chmod +x later and it gives me a new error, "Failed to locate Java Executable. The launcher would NOT be able to start Minecraft.", clicking "OK" kills the task. this error makes no sense as it is running from a valid Java 8 instance.
To Reproduce Steps to reproduce the behavior:
Expected behavior the launcher should just launch like Normal and work like on Windows due to the nature of Jarfiles.
Hardware & Software info (Might be important in some cases)
Additional context I get that Linux isn't the main crowd here but it IS the future, seeing how microsoft have shot themselves in the foot by discontinuing Win7/8 long before a "Win12" can be released and what else am I supposed to run? MacOS? yeah H*ll no. most people would rather learn linux(you never have to open the terminal in modern linux, you can use the software manager to install synaptic then use that to install java 8 instead it's just faster that way) than to go to a competitor and get sucked into another more expensive ecosystem. not to mention the friendly support forums for inexperienced linux users to ask questions! sorry for all this, I am just justifying the reason I REFUSE to use Windows. I don't think it's got that much longer to live and thanks to Win11's Horrid design choices, I don't want to use it as a daily driver, not to mention it's glaring stability/continuity flaws.
PS. kind of works on wine but that is NOT USER FRIENDLY PPS. You should NOT pre-package or Pre-installing Java Runtimes, tell users where to find them but don't install it for them.