Comments (9)
Minecraft servers now use Java 16, you might want to change the variable that dictates what java version to download.
from minecolab.
Minecraft servers now use Java 16, you might want to change the variable that dictates what java version to download.
Thanks for reply, but if you read bug description, you'll notice I said I know it's because of older Java but I don't know how to update it/change version
from minecolab.
Ok so I managed to change Java Version by editing this line:
!sudo apt-get install adoptopenjdk-15-hotspot-jre &>/dev/null
To this:
!sudo apt-get install adoptopenjdk-16-hotspot-jre &>/dev/null
(you can also comment everything under # Install OpenJDK 15
and write this two lines:
sudo add-apt-repository ppa:linuxuprising/java
sudo apt install openjdk-16-jdk
)
But I still get the following error:
Exception in thread "main" java.lang.InternalError: java.lang.reflect.InvocationTargetException...
Link to full error message.
I've tried to run my server file on local pc and it worked just fine.
from minecolab.
Yeah for now you can't use MIneColab to make a 1.17 server, since Java 16 only supports Ubuntu 20.04 and 20.10, and Google Colab's machines run on 18.04.
I also have the same problem.
from minecolab.
Would look into it in a few hours. It should be pretty easy to switch since we're already using a ppa to get the jdk.
from minecolab.
Would look into it in a few hours. It should be pretty easy to switch since we're already using a ppa to get the jdk.
Here's the thing i tried manually installing the Java 16 JDK and i made sure that it was running it, when launching the JAR It would not launch and spits out errors, unless you are adding a patched jdk into the ppa then idk
from minecolab.
Hello, people added PR which resolves this issue #36
from minecolab.
Hello, people added PR which resolves this issue #36
Sorry but your solution isn't realy working
!sudo apt-get install adoptopenjdk-16-hotspot-openj9 &>/dev/null && echo "Yay! Openjdk16 has been successfully installed." || echo "Failed to install OpenJdk16."
outputs: "Failed to install OpenJdk16"
from minecolab.
Ok, now it works now, thanks to @AndreVuillemot160
Quick fix:
Just change the line:
!sudo apt-get install adoptopenjdk-15-hotspot-jre &>/dev/null
To:
!sudo apt-get install adoptopenjdk-16-openj9 &>/dev/null
(In AndreVuillemort160 commit there is adoptopenjdk-16-hotspot-openj9
instead of adoptopenjdk-16-openj9
but I'm sure it's just a typo)
Thanks everyone for help!
Love,
Shadow0Bit.
from minecolab.
Related Issues (20)
- [BUG]Error: could not open `libraries/net/minecraftforge/forge/1.12.2-14.23.5.2860/unix_args.txt' HOT 4
- [Feature Request] MineColab Improved -- N_Aksif_N
- [BUG] Cloudflare argo does not provide a working IP for server
- [Feature Request] Unturned server
- for bedrock please HOT 2
- [Server Error]
- Issue
- [BUG] cant initialize server HOT 1
- [BUG] Error starting the server
- (problem) Hello, I need help because when I try to access a friend's server it tells me (Connection timed out: no further information: 0.tcp.sa.ngrok.io/54.94.248.37:10864) in the log and I'm the only one who gets my rest friends let them in
- [BUG]tcp
- [BUG]forge server: No X11 DISPLAY variable was set HOT 3
- Server does not start when using forge
- no se identifica el archivo server.proterties
- Couldn't Access server.jard
- [BUG] Server not being able to launch due to opendjk version being incorrect HOT 1
- ERR icmp router terminated error="context canceled"[BUG]
- [BUG]
- [BUG]
- Forge? Java?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecolab.