Exposure

Exposure

5M Downloads

Various errors when attemping to run client

Closed this issue ยท 4 comments

commented

Unsure if this is an issue with my setup or not. Code is a direct copy from source. At first, I get
> Task :neoforge:dev.architectury.transformer.TransformerRuntime.main() FAILED
Unrecognized VM option 'AllowEnhancedClassRedefinition'

I modified my run configuration to include -XX:+IgnoreUnrecognizedVMOptions which yielded a different error:
Error opening zip file or JAR manifest missing : C:\<path>\Exposure\.gradle\architectury\architectury-transformer-agent.jar

This happens with both Fabric and NeoForge. Multiple JDK's have been tested, same errors on all of them.

commented

My knowledge of gradle is pretty poor, so I don't know how to help you with this.
Try commenting out hotswap related code.
There's a chance that I did something that makes it work only on my machine, but I think it's unlikely.

commented

Dont worry, however poor your gradle knowledge is, mine is probably twice as bad ๐Ÿ˜…

Ill try some things and get back to you! ๐Ÿ‘

commented

Commenting out vmArgs '-XX:+AllowEnhancedClassRedefinition', '-XX:HotswapAgent=core' on line 108 of the root build.gradle seems to have fixed it. Thanks!

Any idea as to what this is all about?

commented

It's for hotswap agent. Maybe it complains that you don't have it available, or your java doesn't support it.