Jump to content

Recompile errors when installing Forge 7.7.1 src on Linux


Recommended Posts

I recently downloaded and attempted to install the "recommended" build of Forge src on both Windows and Linux (separate computers).  The Windows installation worked fine, but the Linux installation resulted in 88 compile errors during the recompilation stage.  I tried both the "recommended"  build (611) and the "latest" build (622) with the same result on both.  My process was pretty straightforward, extract the downloaded archive to a new folder and run "install.sh" (after doing a chmod +x install.sh).


Selected output near the top of the errors:


> Recompiling

'"javac" -encoding UTF-8 -Xlint:-options -deprecation -g -source 1.6 -target 1.6 -classpath "lib:lib/...' failed : 1




src/minecraft/net/minecraft/block/Block.java:242: error: cannot find symbol




  symbol:  class SideOnly

  location: class Block


My "javac" version is "javac 1.7.0_07"


Link to comment
Share on other sites

I'm not certain that this is what fixed the problem, but after looking through the README's I did (on Ubunutu) "sudo apt-get install astyle" and then the recompile worked.  I'm pretty sure that the check at the beginning of the Forge installation said that it found astyle even before I installed, although apt-get definitely acted like it was not already installed.  Curious if someone familiar with what astyle is used for can confirm/deny that this could have been related to the issue that I was seeing.

Link to comment
Share on other sites

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.

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.


  • Create New...

Important Information

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