Posted July 10, 201312 yr I am almost sure this is not a bug which I am posting here. I am not sure what I am doing wrong during the recompile. I am getting a fatal error from the forge "install.cmd" script. Here is the error I am getting; == MCP 8.04 (data: 8.04, client: 1.6.2, server: 1.6.2) == == Updating client == > Adding javadoc > Renaming sources - Done in 12.27 seconds == MCP 8.04 (data: 8.04, client: 1.6.2, server: 1.6.2) == == Recompiling client == > Cleaning bin > Recompiling '"scalac.bat" -encoding UTF-8 -deprecation -target:jvm-1.6 -classpath "jars\vers ions\1.6.2\1.6.2.jar;...' failed : 255 == ERRORS FOUND in SCALA CODE == The syntax of the command is incorrect. ================================ Client recompile failed, correct source then rerun updatemd5 =============================== Minecraft Forge Setup Finished ================= I have search the forums for an answer and I have come up short on answers that specifically identify my problem. I have the scala compiler on my machine because its requirement for another project that I download and compile. I have not touched the forge file or installer I just downloaded a fresh copy of the latest release (1.6.2-9.10.0.789 at the time) and ran the install script. I have been trying to compile for every version since 1.6 forge was posted and each time it fails to finish. Also just clarify the error is fatal so I am unable to use mcp I tried already. Here is some important info about my machine / environment: Windows 7 Pro 64-bit Oracle Java JDK 7 update 25 Scala Compiler 2.10.2 If anyone could give some insight to what I am doing wrong it would be appreciated. “Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.” - Linus Torvalds
July 10, 201312 yr I've never personally used Scala, but looking at the changelog, it looks like some command line arguments changed in 2.9.0, you might want to use the compiler version 2.8.x or below.
July 10, 201312 yr Author Thanks, that worked perfect! One odd thing I noticed is the forge installer pulls scala 2.10.2 libraries, so why does the same compiler version not work? “Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.” - Linus Torvalds
July 10, 201312 yr Interesting the same compiler version SHOULD work. Can you get me your mcp/logs folder. So I can try and see the exact version and errors you're getting. I have the 2.10 compiler installed on my computer and it;'s building fine. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
July 10, 201312 yr Author Do you want the logs from the 2.10 failure or the 2.8 success? “Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.” - Linus Torvalds
July 10, 201312 yr Lex, the problem lies in the command line arguments you're sending to the scala compiler, they changed their syntax in 2.9.0 so you probably have to change the syntax in which they are sent from the python files. '"scalac.bat" -encoding UTF-8 -deprecation -target:jvm-1.6 -classpath "jars\vers ions\1.6.2\1.6.2.jar;...' failed : 255 The syntax of the command is incorrect.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.