#java files dont work

1 messages · Page 1 of 1 (latest)

sinful olive
#

The lads and i just started a new minecraft server for which i planned to get a few mods like optifine and forge. All those have to be installed via java, of which i have the latest version. When i try to install however the cmd just pops up and closes immediately. I tried a run.bat file like in many fixing videos and that worked for optifine, but the same problem remains for any other mod. Is there a solution?

stone venture
#

That's not how you install mods

sinful olive
#

Well how do you then? I prolly said it wrong but we both mean the same thing

stone venture
#

You don't run those .jar files directly, you just add them to your %APPDATA%\.minecraft\mods folder & use a modloader like Forge to then run the game

sinful olive
#

do i have to create one?

#

and when trying to install modladoder the cmd also just pops up briefly

stone venture
# sinful olive and when trying to install modladoder the cmd also just pops up briefly

If you open up a PowerShell window in the folder your Forge installer is in & run java -jar forge-1.19.2-43.1.52-installer.jar (the filename here is just an assumption, if yours is named differently, adjust that part of the command), does the installer work?

I've personally not had a good experience using Forge's standalone installer either, I'd really recommend installing some other MC launcher that has mod support built-in (Prism, MultiMC, etc). In those launchers, installing a modloader (or mods, for that matter) is a one-click thing

stone venture
sinful olive
#

I cant install forge thats my problem

dusk moon
#

you can install forge by downloading curse forge

#

the app

stone venture
stone venture
sinful olive
stone venture
#

the filename here is just an assumption, if yours is named differently, adjust that part of the command

sinful olive
#

Ik i did that

stone venture
#

Take a screenshot of the full command prompt after running the command please

#

It's likely that you're not in the right directory

sinful olive
#

its not the exact way you described but i think its the same result. correct me if im wrong

sinful olive
sinful olive
hollow tendon
stone venture
stone venture
sinful olive
hollow tendon
hollow tendon
sinful olive
#

it shows me this

#

oh shit sorry

#

it worked