Ok, show me a screenshot of the folder where you have the installer.
Also show me a screenshot or copy/paste of the terminal where you are trying to run the installer.
Why are you trying to run that?
Did the installer run?
After the installer runs, you just open the minecraft launcher, and if there is no forge installation created in there for you, you make one from the installations screen
Instead of /path/to/forgeinstaller.jar you need to put the actual path and filename of the forge installer jar on your system.
It looks like it is probably /Users/leandrocaruso/Downloads/forge-1.15.2-31.1.0-installer.jar
I'm guessing you accidentally downloaded it from the forge site while trying to get this working.
Download the installer, and run it from the commandline using java -jar /path/to/where/you/downloaded/forgeinstaller.jar
Are you clicking on the installer, or using java -jar /path/to/forgeinstaller.jar ?
And also, you probably want the installer download from the forge website, not the launcher.
Please post your debug.log, and also it would be helpful if your code were posted as a github repository, it is much easier to read there, plus if someone wants to debug it they can clone/download it and build it
Minecraft comes with a bundled Java 8 JRE it uses
I'm not 100% sure to be honest, but I don't think you need it for running minecraft with forge, however I would keep it so that if you need to run the installer for another version of forge (the Nether update is coming to vanilla!) you will have it.
You definitely need java installed to run the installer. It can be a JRE, you don't need the JDK unless you are writing mods. *edit: evidently it looks like the openjdk comes as a whole bundle, not separate jre/jdk lol.
Make sure you get java 8 hotspot.
https://adoptopenjdk.net
That likely means that .jar files are not associated with java on your mac. I don't use a mac, so I do not know how to fix it, but you should be able to put "java -jar " in front of what you have to run it.
Did you check the optifine changelog to make sure you're using the version of forge compatible with the version of optifine you're using?
That'd be the first thing I check!
I would try updating botania
*edit: the reason I would is this line:
and also comparing the date of botania vs the release date of the version of forge you are using.
I believe the issue tracker url can be whatever you want/have for an issue tracker address.
The update JSON format I believe is this: https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/#update-json-format
1.12 is no longer supported on these forums due to age.
Please update to a modern version to receive support here.
More information on supported versions can be found in the LTS link at the top of every page.
You should find the forge jar in the Referenced Libraries section of your IDE, it will contain the minecraft and forge sources. There is also a client-extra jar which contains model jsons and other client stuff.
Please start your own thread if you have an issue, this thread is nearly 2 years old.
Also please note that 1.12 is no longer supported on these forums due to age.
More information on supported versions can be found in the LTS link, at the top of every page.