Jump to content

Recommended Posts

Posted

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.

Posted

alternatively (if you dont need scalac) you can remove scalac from your PATH and itll stop trying to compile scalac files :P thus solving your problem

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Posted

alternatively (if you dont need scalac) you can remove scalac from your PATH and itll stop trying to compile scalac files :P 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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.