Posted July 24, 201312 yr Is there a way to change/set the Java version used by the install script? I have both 1.6 and 1.7 installed, but the script seems to use 1.6 even though 1.7 is the default: jared@Numenor:~$ java -version java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b11) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode) jared@Numenor:~$ javac -version javac 1.7.0_21 jared@Numenor:~$ scala Welcome to Scala version 2.9.2 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_21). Type in expressions to have them evaluated. Type :help for more information. scala> ...but the script gives me this error... == MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) == "scalac" does not support jvm-1.6 target, it is out of date. Ignoring I'm pretty sure this decompiling error is why my installations are not working in running test builds. Is there a way to change the version of Java use here? Any help is appreciated. Thank you. EDIT: OK, this was barking up the wrong tree, the answer I needed was in this post: http://www.minecraftforge.net/forum/index.php/topic,9148.0.html#msg46027 Developer of Doomlike Dungeons.
July 24, 201312 yr alternatively (if you dont need scalac) you can remove scalac from your PATH and itll stop trying to compile scalac files thus solving your problem how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 24, 201312 yr Author alternatively (if you dont need scalac) you can remove scalac from your PATH and itll stop trying to compile scalac files thus solving your problem Before I installed scala, I was getting this error: == MCP 7.51 (data: 7.51, client: 1.5.2, server: 1.5.2) == "scalac" is not found on the PATH. Scala files will not be recompiled ...and my builds didn't run. I installed scala to fix that problem, but it didn't seem to work. I'm sure something is missing or decompiled wrong, its the only explanation, since the errors occur in fresh installs before I've touch the code in any way. (See my previous thread, http://www.minecraftforge.net/forum/index.php/topic,10735.0.html, if your at all interested.) Developer of Doomlike Dungeons.
July 24, 201312 yr thats very weird because scala is NOT mandatory to use forge how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
July 24, 201312 yr Author thats very weird because scala is NOT mandatory to use forge Well, thanks, that may be a sign I'm barking up the wrong tree looking for the solution. This does put my back to the "I have no clue what's going on" stage, though. Developer of Doomlike Dungeons.
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.