amidst icon indicating copy to clipboard operation
amidst copied to clipboard

4.7 not working with Minecraft 1.17

Open Thenaikan opened this issue 3 years ago • 25 comments

Error attached.

image

Thenaikan avatar Jun 17 '21 00:06 Thenaikan

You need to upgrade to Java 16

JDHnz avatar Jun 17 '21 03:06 JDHnz

I have Java 16 JDK installed alongside Java 8 JRE. I'm able to run Minecraft 1.17 from both MultiMC and the regular launcher, but I get the same error message.

dgl-thrawn avatar Jun 17 '21 08:06 dgl-thrawn

I'm having the same issue too! :/

Mikolsito avatar Jun 17 '21 08:06 Mikolsito

It is working for me. I downloaded "amidst-v4-7.jar", and am launching it with java -jar amidst-v4-7.jar. I only have the Microsoft build of OpenJDK 16 on my machine, the MSI for which can be found at https://docs.microsoft.com/en-nz/java/openjdk/download, which is currently https://aka.ms/download-jdk/microsoft-jdk-16.0.1.9.1-windows-x64.msi but this may be replaced with newer builds in the future.

I suspect the problem that everyone here is complaining about is with the "amidst-v4-7.exe" package, which appears to be specifically looking for JRE 8, as it gives this error when run on my machine: image

JDHnz avatar Jun 17 '21 09:06 JDHnz

It is working for me. I downloaded "amidst-v4-7.jar", and am launching it with java -jar amidst-v4-7.jar. I only have the Microsoft build of OpenJDK 16 on my machine, the MSI for which can be found at https://docs.microsoft.com/en-nz/java/openjdk/download, which is currently https://aka.ms/download-jdk/microsoft-jdk-16.0.1.9.1-windows-x64.msi but this may be replaced with newer builds in the future.

I suspect the problem that everyone here is complaining about is with the "amidst-v4-7.exe" package, which appears to be specifically looking for JRE 8, as it gives this error when run on my machine: image

Thanks. Tried the jar version and it works fine.

dgl-thrawn avatar Jun 17 '21 09:06 dgl-thrawn

I'm not a java dev, but I think the fix may simply be to update the jdk version referenced in src/main/resources/amidst/metadata.properties from 1.8 to 1.16

JDHnz avatar Jun 17 '21 09:06 JDHnz

java

Doesn't work with the above Java version. I cannot update it any further as this is the latest version (at least according to the GUI update feature).

Thenaikan avatar Jun 17 '21 12:06 Thenaikan

@Thenaikan see my comment above for a way of getting it to work. You are correct that it is not possible to automatically update the version of Java using the built-in updater.

JDHnz avatar Jun 17 '21 12:06 JDHnz

It is working for me. I downloaded "amidst-v4-7.jar", and am launching it with java -jar amidst-v4-7.jar. I only have the Microsoft build of OpenJDK 16 on my machine, the MSI for which can be found at https://docs.microsoft.com/en-nz/java/openjdk/download, which is currently https://aka.ms/download-jdk/microsoft-jdk-16.0.1.9.1-windows-x64.msi but this may be replaced with newer builds in the future.

I suspect the problem that everyone here is complaining about is with the "amidst-v4-7.exe" package, which appears to be specifically looking for JRE 8, as it gives this error when run on my machine: image

Where exactly does one put those launch arguments? I'm having the same issue as @Thenaikan and can't get it to work, even when using the .jar

anew742 avatar Jun 17 '21 22:06 anew742

From the command line. Probably the easiest way is to create a batch file in the same directory as the jar file and put the command in there.

JDHnz avatar Jun 18 '21 01:06 JDHnz

Can confirm that this happens with the .exe despite having Java 16. The .jar file works fine though.

Tencryn avatar Jun 18 '21 01:06 Tencryn

MSI download and jar version worked for me

johannesweber42 avatar Jun 18 '21 02:06 johannesweber42

Can confirm that this happens with the .exe despite having Java 16. The .jar file works fine though.

Same here. Latest version of both the jdk and jre are installed.

Mr-Technician avatar Jun 18 '21 02:06 Mr-Technician

So here is a workaround. Download the jar, not the exe. Right click the icon and open the properties. Make sure the "Open with" property is set to the MS version. Mine was still trying to use version 1.8.

mlangas avatar Jun 18 '21 15:06 mlangas

I had the same problem with the .EXE, but also with the .JAR. Luckily after installing the latest Java runtime 8 and JDK 16 now at least the .JAR is working now. And by the way I have several older versions installed, which still are required by some very old apps I still use nowadays and it still works. Hopefully soon the executable will also be fixed. Thanks a lot for all the help :-)

Jupisoft111 avatar Jun 18 '21 22:06 Jupisoft111

Is the jdk version from oracle different from Microsoft? Java(TM) SE Runtime Environment (build 1.8.0_291-b10) is what I have now and given the Microsoft jdk 1.16 from links above I'm planning to install the Microsoft version to run amidst

JSmurf11 avatar Jun 20 '21 08:06 JSmurf11

Nah, it was just easier to find than the correct one from Oracle

JDHnz avatar Jun 20 '21 08:06 JDHnz

Nah, it was just easier to find than the correct one from Oracle

will installing microsoft-jdk-16.0.1.9.1-windows-x64.msi remove the current jdk that I'm using?

JSmurf11 avatar Jun 20 '21 08:06 JSmurf11

No

JDHnz avatar Jun 20 '21 08:06 JDHnz

So here is a workaround. Download the jar, not the exe. Right click the icon and open the properties. Make sure the "Open with" property is set to the MS version. Mine was still trying to use version 1.8.

this worked for me without getting a different jdk, just asked to open with Java (TM) SE binary.

SirRemus avatar Jun 21 '21 19:06 SirRemus

Any way to fix the problem in simpler words? EXE and JAR both don't work for me and I don't really understand what is being said here.

Edit: Nvm just downloaded microsoft-jdk-16.0.1.9.1-windows-x64.msi like someone above said and it worked.

Pingwing7 avatar Jun 22 '21 13:06 Pingwing7

Any way to fix the problem in simpler words? EXE and JAR both don't work for me and I don't really understand what is being said here.

Edit: Nvm just downloaded microsoft-jdk-16.0.1.9.1-windows-x64.msi like someone above said and it worked.

I'm in the same boat and don't really have time to try to figure this all out. Just wait for the author to fix the exe - might be a while so try to be patient.

Thenaikan avatar Jun 22 '21 14:06 Thenaikan

Error attached.

image

yes same

lovchaudhary123 avatar Jun 23 '21 06:06 lovchaudhary123

Hello, try install this: https://www.oracle.com/java/technologies/javase-jdk16-downloads.html (Reboot when installed) Then download and run the Amidst JAR file https://github.com/toolbox4minecraft/amidst/releases (https://github.com/toolbox4minecraft/amidst/releases/download/v4.7/amidst-v4-7.jar) That should be enough

fbalaguera avatar Jun 23 '21 23:06 fbalaguera

Installing JDK16 doesn't work on Mac. Screen Shot 2021-07-18 at 10 00 48 AM

miketoles avatar Jul 18 '21 16:07 miketoles