MCUpdater / MCU-Bootstrap

Bootstrapping auto-updater for MCUpdater
Apache License 2.0
4 stars 3 forks source link

java 11 throws error #11

Open tmzasz opened 3 years ago

tmzasz commented 3 years ago

the error is No configuration found that matches distribution "Release" and Java 11.0

https://gyazo.com/970fdb78ff8b0b167c672a5995915ecd

this is on the java version 11.0.9 2020-10-20 LTS build

smbarbour commented 3 years ago

Strange, though Java 8 is recommended as newer versions of Java have removed features from the distribution.

tmzasz commented 3 years ago

yea it is kinda strange. it works well on the latest 8 though ( had to use 8 anyways as forge pre 1.13 cant run on 9+)

llndqvst commented 3 years ago

Did you get this error with a jar you compiled yourself? I’ve found that the current bootstrap-xml is not compatible jars compiled from the latest master. The error seems to be that Java distributions are parsed incorrectly, the easiest fix is to run with a custom bootstrap.xml where you’ve modified the distribution to look like e.g 11.0 instead of 11. as it is now. 1.8 seems to be the only currently working version.

It should be noted though that you will probably run into some problem as @smbarbour mentioned.

tmzasz commented 3 years ago

yesits on a self compiled jar