#i can't open my jar file
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
Where is the file located, what is the name of the jar?
What do you mean you can't open? Does it have a main class? Is it compiled by a recent version of Java? Or there isn't a Java program in "open with" Windows dialog?
then its not an executable
\Downloads\sample.jar
But its type is Executable for jar
that's a jar
what is the exact error?
no main manifest attribute, in sample.jar
yep
the manifest allows the jar to know how to run
without that, you can't run it
unless you know the main class
So what i should do?
Is it your own jar you've made of your program or something else?
I downloaded it from curse forge, it's a Minecraft mod
its not an executable
its a mod
? what you want to tell with thay
I want to know how to execute it.
It's not possible unless you meant modding Minecraft which is the actual executable
I'd expect the place you downloaded it from to also have instructions?
I don't think people are too keen on downloading a random jar file.
To use a minecraft mod you need to first install the correct mod loader and then place the mod jar in a mods folder under your .minecraft
You don't, that's a mod, you don't execute mods