Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [1.7.10] [SOLVED] corrupt jarfile problem
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 1
sigurd4

[1.7.10] [SOLVED] corrupt jarfile problem

By sigurd4, July 22, 2014 in ForgeGradle

  • Reply to this topic
  • Start new topic

Recommended Posts

sigurd4    0

sigurd4

sigurd4    0

  • Creeper Killer
  • sigurd4
  • Members
  • 0
  • 137 posts
Posted July 22, 2014

i set up forge gradle in another folder (i have another forge gradle somewhere else. not sure if the fact that i have multiple forge gradle setups is a problem) this time in a different version (forge 1.7.10-10.13.0.1180 to be specific) but i am not able to run minecraft. it seems to not be a problem with my mod, but with the jarfile (it says it is corrupt). i tried deleting the jarfile, then reinstalling forge gradle (i was almost sure that would work) but it still didnt work, so i am clueless. the version i used is supposed to be stable so i thought using another version would be pointless. here is the log:

[22:55:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:55:52] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[22:55:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[22:55:52] [main/INFO] [FML]: Forge Mod Loader version 7.10.18.1180 for Minecraft 1.7.10 loading
[22:55:52] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre8
[22:55:52] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[22:55:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:55:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:55:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:55:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[22:55:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:55:52] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[22:55:54] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Sigurd/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1180/forgeSrc-1.7.10-10.13.0.1180.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[22:55:54] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[22:55:54] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Sigurd/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1180/forgeSrc-1.7.10-10.13.0.1180.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[22:55:54] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[22:55:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[22:55:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[22:55:55] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[22:55:55] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['userProperties']
at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:447) ~[OptionParser.class:?]
at joptsimple.OptionParser.parse(OptionParser.java:437) ~[OptionParser.class:?]
at net.minecraft.client.main.Main.main(Main.java:89) ~[Main.class:?]
... 6 more

what can i do to fix this?

  • Quote

http://www.planetminecraft.com/member/sigurd4

I'm making the bioshock mod!

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 22, 2014

This should be long-fixed... Use the GradleStart class without arguments.

  • Quote

Share this post


Link to post
Share on other sites

sigurd4    0

sigurd4

sigurd4    0

  • Creeper Killer
  • sigurd4
  • Members
  • 0
  • 137 posts
Posted July 22, 2014

how do i do that? is it the arguments tab in run configurations?

  • Quote

http://www.planetminecraft.com/member/sigurd4

I'm making the bioshock mod!

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 22, 2014

You shouldn't need to do this if you use the latest download.

I just tried it out with the latest download, it works fine. What are the exact steps that you took to set up your workspace (from start to finish).

  • Quote

Share this post


Link to post
Share on other sites

sigurd4    0

sigurd4

sigurd4    0

  • Creeper Killer
  • sigurd4
  • Members
  • 0
  • 137 posts
Posted July 22, 2014

first, i went to files.minecraftforge.net and downloaded the stable src build for 1.7.10. then i extracted it into the folder i wanted to use. then open up cmd in that folder and first typed in "gradlew setupDecompWorkspcae" or something like that, then when it was done i typed it "gradlew eclipse" and let that do its thing. then opened up eclipse, created a new java project and chose that folder as the project directory. then i went trough the build.gradlew file and filled it in like this:

buildscript {
    repositories {
        mavenCentral()
        maven {
            name = "forge"
            url = "http://files.minecraftforge.net/maven"
        }
        maven {
            name = "sonatype"
            url = "https://oss.sonatype.org/content/repositories/snapshots/"
        }
    }
    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
    }
}

apply plugin: 'forge'

version = "0.1"
group= "com.sigurd4.modname"
archivesBaseName = "modname"

minecraft {
    version = "1.7.10-10.13.0.1180"
    assetDir = "eclipse/assets"
}

dependencies {}

processResources
{
    inputs.property "version", project.version
    inputs.property "mcversion", project.minecraft.version

    from(sourceSets.main.resources.srcDirs) {
        include 'mcmod.info'
                
        expand 'version':project.version, 'mcversion':project.minecraft.version
    }
        
    from(sourceSets.main.resources.srcDirs) {
        exclude 'mcmod.info'
    }
}

  • Quote

http://www.planetminecraft.com/member/sigurd4

I'm making the bioshock mod!

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 22, 2014

Ok, here is your problem: Don't create a new project in eclipse. When it asks for the workspace location, point it to the eclipse folder the in the project directory.

  • Quote

Share this post


Link to post
Share on other sites

sigurd4    0

sigurd4

sigurd4    0

  • Creeper Killer
  • sigurd4
  • Members
  • 0
  • 137 posts
Posted July 23, 2014

ok i removed both projects from eclipse and added one of them, now that works. whats strange is that it now give s me new erros that i didnt have before (specificly, various classes that implements a interface has errors where it has the @Override. that worked before. parhaps the nev version got installed for my old workspace too.) it seems to work as it should, though.

  • Quote

http://www.planetminecraft.com/member/sigurd4

I'm making the bioshock mod!

Share this post


Link to post
Share on other sites

sigurd4    0

sigurd4

sigurd4    0

  • Creeper Killer
  • sigurd4
  • Members
  • 0
  • 137 posts
Posted July 24, 2014

im getting the same error again, this time i only have one project at the time. it happened after i updated to 1.7.10. i have tried to remove the project, then load it again just like how i fixed it previously, but it doesnt work.

  • Quote

http://www.planetminecraft.com/member/sigurd4

I'm making the bioshock mod!

Share this post


Link to post
Share on other sites

sigurd4    0

sigurd4

sigurd4    0

  • Creeper Killer
  • sigurd4
  • Members
  • 0
  • 137 posts
Posted July 24, 2014

bump! im desperate! i cant run minecraft and i cant figure out how to fix it!

  • Quote

http://www.planetminecraft.com/member/sigurd4

I'm making the bioshock mod!

Share this post


Link to post
Share on other sites

diesieben07    7583

diesieben07

diesieben07    7583

  • Reality Controller
  • diesieben07
  • Forum Team
  • 7583
  • 54911 posts
Posted July 24, 2014

Ok, do this:

Download fresh forge workspace, unzip it. Run gradlew --refresh-dependencies setupDecompWorkspace and then gradlew eclipse.

Then point eclipse to the eclipse folder in the unzipped project. Does your Minecraft run then?

  • Quote

Share this post


Link to post
Share on other sites

sigurd4    0

sigurd4

sigurd4    0

  • Creeper Killer
  • sigurd4
  • Members
  • 0
  • 137 posts
Posted July 24, 2014

it works perfectly! thanks!

  • Quote

http://www.planetminecraft.com/member/sigurd4

I'm making the bioshock mod!

Share this post


Link to post
Share on other sites

Kwasti    0

Kwasti

Kwasti    0

  • Tree Puncher
  • Kwasti
  • Members
  • 0
  • 32 posts
Posted August 5, 2014

help

 

the same problem.

did that here suggested - did not help.

 

at first I tried to take the update from 1.7.2 to 1.7.10.

 

error as the author of a topic.

 

then decided to do it all over again.

0. delete all workspace folders

1 downloaded forge-1.7.10-10.13.0.1180-src.zip

2 unpacked in new folder

3 gradle setupDevVorkspake

4. gradlew setupDecompWorkspace

5. gradlew Eclipse

6 launched Eclipse

7 imported project

8 Run created the configuration with the necessary parameters (net.minecraft.launchwrapper.Launch etc.)

9 launched - the error persists.

then do this:

10. gradlew --refresh-dependencies setupDecompWorkspace

11. gradlew Eclipse

launched - the error again remained.

 

 

[12:01:32] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[12:01:32] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[12:01:34] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/kwasti/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1180/forgeSrc-1.7.10-10.13.0.1180.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

[12:01:34] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!

[12:01:34] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/kwasti/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.0.1180/forgeSrc-1.7.10-10.13.0.1180.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it

[12:01:34] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[12:01:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[12:01:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[12:01:35] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[12:01:35] [main/ERROR] [LaunchWrapper]: Unable to launch

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_51]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_51]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_51]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

Caused by: joptsimple.MissingRequiredOptionException: Missing required option(s) ['userProperties']

at joptsimple.OptionParser.ensureRequiredOptions(OptionParser.java:447) ~[OptionParser.class:?]

at joptsimple.OptionParser.parse(OptionParser.java:437) ~[OptionParser.class:?]

at net.minecraft.client.main.Main.main(Main.java:89) ~[Main.class:?]

 

  • Quote

Share this post


Link to post
Share on other sites

Kwasti    0

Kwasti

Kwasti    0

  • Tree Puncher
  • Kwasti
  • Members
  • 0
  • 32 posts
Posted August 5, 2014

done.

  • Quote

Share this post


Link to post
Share on other sites

sequituri    118

sequituri

sequituri    118

  • Dragon Slayer
  • sequituri
  • Forge Modder
  • 118
  • 669 posts
Posted August 13, 2014

In Run Configurations > Java Application > Client: All you need is the Main Class set to "GradleStart"

  • Quote

-S- (if I helped, please click Thank and applaud)


width=471 height=128http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]

Share this post


Link to post
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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 1
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • DaemonUmbra
      Any good exploration mods for 1.16.3?

      By DaemonUmbra · Posted 6 minutes ago

      Why limit yourself to 1.16.3? Especially since 1.16.5 just came out and fixes crash bugs that could be abused to render a server unusuable.
    • PotatoEz1
      Any good exploration mods for 1.16.3?

      By PotatoEz1 · Posted 18 minutes ago

      Does anybody know any cool mods for 1.16.3 that adds biomes and dungeons? Thanks!
    • XenoPyax
      GUI Button has weird image

      By XenoPyax · Posted 38 minutes ago

      SO I have the following code I've been looking through the gui of the Minecraft menus and replicated them but somehow my buttons don't seem to take the correct texture. Code: https://paste.md-5.net/figovuzufa.java Image:
    • Draco18s
      [1.16.4] setBlockState with out send update event.

      By Draco18s · Posted 42 minutes ago

      Still don't know why you added the 1 if you didn't want block updates.
    • DrakenXI
      [1.16.4] setBlockState with out send update event.

      By DrakenXI · Posted 56 minutes ago

      Thanks for your reply. You gave me another idea for a solution.   19 :  1 will cause a block update. 2 will send the change to clients. 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing). That what I found in Minecraft source for "setBlockState" Function. 🤨    
  • Topics

    • PotatoEz1
      1
      Any good exploration mods for 1.16.3?

      By PotatoEz1
      Started 18 minutes ago

    • XenoPyax
      0
      GUI Button has weird image

      By XenoPyax
      Started 38 minutes ago

    • DrakenXI
      3
      [1.16.4] setBlockState with out send update event.

      By DrakenXI
      Started 20 hours ago

    • Somonestolemyusername
      16
      [1.15.2] How Would I make a custom bow?

      By Somonestolemyusername
      Started Tuesday at 09:30 PM

    • Ipsissimus418
      2
      [1.16.4] WorldTickEvent Concurrent Access Exception

      By Ipsissimus418
      Started 4 hours ago

  • Who's Online (See full list)

    • Syris
    • DaemonUmbra
    • Reflector_10
    • Talp1
    • MetalMetagross
    • lawra771
    • PotatoEz1
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • ForgeGradle
  • [1.7.10] [SOLVED] corrupt jarfile problem
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community