Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Error: could not open `libraries/net/minecraftforge/forge/1.12.2-14.23.5.2860/unix_args.txt' #100

Open
X3bex opened this issue Feb 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@X3bex
Copy link

X3bex commented Feb 15, 2024

Describe the bug
Hello, I get this error when I start the server:
apt cache successfully updated
Failed to install OpenJdk16.
Openjdk17 doesn't seems to be installed or isn't working, falling back to java 11 . You might experience reduced performance. Minecraft 1.17 and above might fail to launch.
Drive already mounted at /content/drive; to attempt to forcibly remount, call drive.mount("/content/drive", force_remount=True).
/content/drive/My Drive/Minecraft-server
colabconfig.json forge-1.12.2-14.23.5.2860.jar libraries server.jar
eula.txt installer.log minecraft_server.1.12.2.jar
Procedding to use ngrok
Get your authtoken from https://dashboard.ngrok.com/auth
Authtoken saved to configuration file: /root/.config/ngrok/ngrok.yml
Your server address is 0.tcp.sa.ngrok.io:13726
Starting server...
Error: could not open `libraries/net/minecraftforge/forge/1.12.2-14.23.5.2860/unix_args.txt'

To Reproduce
Steps to reproduce the behavior:

  1. Go to the first cell
  2. Click on 'start'
  3. See error

Minecraft server Version
1.12.2

@X3bex X3bex added the bug Something isn't working label Feb 15, 2024
@N-aksif-N
Copy link

Your server is using Java 17

1.12.2 requires Java 8 to work

@X3bex
Copy link
Author

X3bex commented Mar 13, 2024

Your server is using Java 17

1.12.2 requires Java 8 to work
no, I'm using java 8 and it just appears that it doesn't load, I need if someone knows about that error at the end

@N-aksif-N
Copy link

but you dont set it to default. some code will have you:

Java 8 is required to run Minecraft versions 1.12 through 1.17. Java 17 is required to run Minecraft version 1.18 and up.

if version > "1.17":
! sudo apt install openjdk-17-jre-headless &>/dev/null &&echo "Openjdk17 successfully installed" || echo "Failed to install OpenJdk17."
# Set default to java 17. Same goes to java8
environ["JAVA_HOME"] = "/usr/lib/jvm/java-17-openjdk-amd64"
! update-alternatives --set java /usr/lib/jvm/java-17-openjdk-amd64/bin/java
else:
! sudo apt install openjdk-8-jre-headless &>/dev/null &&echo "Openjdk8 successfully installed" || echo "Failed to install OpenJdk8."
environ["JAVA_HOME"] = "/usr/lib/jvm/java-8-openjdk-amd64"
! update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java

@N-aksif-N
Copy link

N-aksif-N commented Mar 31, 2024

Hey, why not look at my page: https://github.com/N-aksif-N/Minecolab
Maybe, you will be interested in that. Remember to download it.

@PabloDevh
Copy link

How would it look implemented?
sorry for my bad english

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants