What I mean is that I had the failed to install libraries error and the libraries that failed we're the scala ones like scala compiler.
And so I downloaded the jar files for them and put them in their respective folders in .minecraft.
Ok to add on, had to do manual library install due to failed library install thing, also there is never another window It just closes the launcher window and then reopens it with the error.