Comments (8)
Heya Kreezxil,
ohhhh so now we have the reverse situation at hand, did I understand that correctly?
Whereas before we have people trying to run newer packs with older Java versions, people are now trying to run older packs with newer Java versions?
from serverpackcreator.
Related to this: #445
The aforementioned issue talks about people running server packs with older Java versions and whether we have a way to capture / check / prevent and maybe inform the user in an easy-to-understand way.
from serverpackcreator.
Yes, apparently this is the UNO reverse card.
from serverpackcreator.
Heya Kreezxil,
if I remember correctly, you usually have multiple Java installations available on your machine. I'd like some feedback from people's environments other than my own (sanity check). Could you run the following command and post the return from it here?
which -a java | xargs -I{} echo "echo {};{} -version;echo" | sh
It should list all Java installations available in the system path and print their versions. Trying to determine whether that would be a viable way to discover available Java installations in a bash-script.
Cheers
from serverpackcreator.
I've actually done a Linux reset since talking about that, because I experimented way too much, however, I have java in two locations and your command produced the following output.
/usr/bin/java
openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment (build 17.0.10+7)
OpenJDK 64-Bit Server VM (build 17.0.10+7, mixed mode)
/usr/lib/jvm/default/bin/java
openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment (build 17.0.10+7)
OpenJDK 64-Bit Server VM (build 17.0.10+7, mixed mode)
from serverpackcreator.
Thanks for the feedback.
That looks like the command found the symlink (1st one) as well as the actual installation (2nd one).
I'll run some more tests on my end soonish.
from serverpackcreator.
I responded too quick, I check my /usr/lib/jvm and it did not detect my other installations of Java 8 and Java 22.
from serverpackcreator.
Java checks are available as of https://github.com/Griefed/ServerPackCreator/releases/tag/6.0.0-alpha.3
Checks are based on the info from MultiMC and the info Chorb posted somewhere, as in MC 1.16 and older can use Java 8 and 11, everything else has a "minimum required" check.
This should aleviate at least a portion of problems on the users side for their Java version.
from serverpackcreator.
Related Issues (20)
- [Documentation]: add a section explaining the behaviour and format of [[inclusions]] in the .conf file HOT 2
- [Improvement Ask]: Add MinecraftCapes to the Mod-Exclusions HOT 1
- [Improvement Ask]: Verification method HOT 3
- [Bug]: Watermedia bug HOT 2
- [Improvement Ask]: Add REI Plugin Compatabilities and YUNG's Menu Tweaks (Forge) to the fallback list HOT 4
- [Feature ask]: To have the mod Jump Over Fences added to the Client side only mod list
- [Bug]: colon between the libs? HOT 5
- [Improvement Ask]: Remove Farsight from server pack as client side.
- [Improvement Ask]: "True" Portable HOT 2
- [Bug]: cant click "open filebrowser" button HOT 1
- [Improvement Ask]: Client-side mod blacklists: HOT 2
- [Clientside-mod Addition Request]: fast-ip-ping HOT 2
- [Bug]: Program does not notify user of a Startup crash && Issue Starting HOT 11
- [Bug]: can not start Server (NeoForge 1.20.4) HOT 8
- [Clientside-mod Addition Request]: Fading NIght Vision and Presence Footsteps HOT 1
- [Bug]: Translation pt-BR HOT 1
- [Improvement Ask]: PLEASE do not remove previous server pack files when generating a new server pack under the same name. HOT 6
- [Bug]: not able to redirect java path HOT 7
- [Clientside-mod Addition Request]: ItemLocks HOT 4
- [Bug]: NeoForge 1.21 compat HOT 2
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 serverpackcreator.