TerrariaCraft / Issues

3 stars 0 forks source link

Launcher Fails to launch on Linux #103

Closed FoxbitDreamtail closed 1 year ago

FoxbitDreamtail commented 1 year ago

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:

  1. In Linux Mint 21.1, install java by running sudo apt install openjdk-8-jdk -y in a terminal.
  2. Insert your password when prompted, then wait for java 8's installation to complete
  3. Once completed, go to the project's Official Webpage and download the Jar file from the site(using the pre-installed firefox web browser).
  4. Next, in that same terminal, navigate to Downloads, (Assuming you havn't moved from installing java, it should just be cd Downloads)
  5. chmod the file (use this command sudo chmod +x Terraria \Craft \Installer.jar or right-click and enable "Mark Executable" under the 'Permissions' tab.
  6. Run the file like any other program, you can close the terminal now btw.
  7. "Install" the file like normal wherever you can find it, DO NOT USE THE DEFAULT DIRECTORY, Documents/TCL is fine.
  8. Go to the install directory (in this case, it is in your Documents folder under TCL) and chmod the TCLauncher.jar file
  9. 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.

Mod Versions (please complete the following information): Don't know, couldn't launch the launcher.

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.

FoxbitDreamtail commented 1 year ago

nevermind wrong repo.