Minecraft / Mods

[Program] Java Argument Generator - Speed Up Minecraft!

  • 32 Diamonds
  • 61,570 views, 73 today
  • 7,764 downloads, 2 today
  • 20 favorites
  • 32
  • 20
  • comment41
  • playlist_add
  • share
  • more_horiz
avatar Sergeant Sarcasm
Level 48 : Master Lumberjack
The Java Argument Generator is a simple, easy to use program intended to generate an argument made to speed up Minecraft. All you have to do is copy and paste the text in the box into your Minecraft profile under JVM Arguments!
The argument works by enabling Garbage Collecting on Java, which increases how much Java clears useless memory. The program also detects how much memory your version of Java is willing to use, and sets that as the maximum memory for Minecraft to use. This makes the argument great for use in modpacks, and the Shader mod.

Give it a Download and try it out!

Below is a short guide on how to use the program:

Step 1: Launch Java Argument Generator.jar and copy the text in the text box.

Step 2: Open your Minecraft launcher, select the version you wish to apply the argument to, and click edit profile. Make sure the JVM Arguments checkbox is checked.

Step 3: Paste the text into the JVM Arguments text box, and click Save Profile.

Step 4: Play Minecraft. You're all done!

Let me know how this program works for you, if there are any bugs, and any advice for improvement onto the argument you may have. This is one of my first programs I've released for public use, so let me know how it works and how well Minecraft runs after that. Remember, this argument isn't necessarily intended for just vanilla Minecraft. It is intended for use in modpacks and memory/CPU intensive mods. So, if you use it in vanilla Minecraft or a version with few mods, you may not notice much of a difference. And yes, I know the preview image for the project is exceptionally bad.

Known Problems:
  1. A Java exception has occured: This usually happens with outdated versions of Java, check if you have the latest version installed before reporting your problem or running the program again. This can also happen if you have the wrong architecture of Java installed, such as Java 64 bit on a 32 bit system. This can be fixed by uninstalling Java and installing the correct version. Though if you have a 64 bit system, it is recommended to have both Java 64 bit and 32 bit to reduce compatibility errors.

If you experience problems, I'll need a few things to determine the core problem. Here's an outline for reporting errors:

Argument generated:
Minecraft version:
Java versions installed (With architecture):
CPU (Name, cores, threads):

If you have any trouble filling out the outline for error reporting, let me know and I'll clear up any confusion.

If you liked it, leave a diamondfavorite, and subscribe.
Progress100% complete
Game VersionMinecraft 1.8.1

4 Update Logs

Update #3: Known Problems : 10/30/2015 9:37:30 amOct 30th, 2015

Added a section in description including known errors involving the program. Users can cross reference this section for ways to solve certain problems that I cannot fix. Because sometimes, problems with the user's computer prevent the program from working properly.

Comments : 41

star Login or register to post a comment.

Show Comments

1 - 41 of 41

it wont run. is there a mistake in the download?
The download itself won't make the application just not work. Do you have Java installed and updated? If not, install/update Java.
i have java.does the app nead to be the java folder?
Nope, what version of Java do you have?
8-101 and also 8-89
Hmm, should be working. I'm not sure, I may work on the application and update it sometime but I've got a lot on my plate.
Source code? I want to use it for a server, but I can only access it through the terminal.
I could give you the source but it's not recommended to use it on a server. The arguments generated were originally picked out with clients in mind rather than servers, and I haven't tested it out on one yet. However, if you really want to, if you're using a rented server you should be able to upload the program to your server and run it as you would any other external file (if you have an option for that) and if you're running it on a home server it should be even easier. If you need help getting it to run on a server, just let me know exactly what you need to do and I'll help you out to the best of my ability.
I have a computer slave in my basement I use for my server. To save on RAM, it doesn't have any GUI support, so I need it to output the text into the terminal rather than in a window.
I was getting an error every time I played modded 1.7.10 Minecraft until this.

Thank you so much.
Does this work in the 1.9 snapshots..?
It should work in all versions.
  • WhoIsThis
  • Level 1
  • New Network
  • October 31, 2015, 2:02 am
That's a really nice thing to use! I don't understand the hell of this shit code 

Thanks for making such an awesome program!
No problem!
For those of you who actually read update logs, ignore the two "Update 3" logs. Both logs say the same thing just worded differently, because I guess I didn't realize I made a log already. It's early, okay?
  • RoboCreepa
  • Level 8
  • Apprentice Architect
  • October 29, 2015, 3:46 pm
How did you do this, its the best thing for haveing a slow minecraft.
I actually made this originally to optimize modpacks for people running Windows 8, then I realized everyone could use this.
  • knife9707
  • Level 1
  • New Miner
  • October 29, 2015, 5:11 am
When I run it "A Java Exception has occurred" an error occurs.
When you run the program, or Minecraft? If it's the program, your Java installation may not be installed correctly or some settings may have been changed that prevents certain values involving your system properties from being returned. What version(s) of Java are you running, and have you changed any settings?
Also, what OS are you running Minecraft on?
  • knife9707
  • Level 1
  • New Miner
  • October 29, 2015, 8:26 am
Version 1.7
Windows 10
Never change the setting.
Java 1.7? Try installing Java 8.
  • knife9707
  • Level 1
  • New Miner
  • October 29, 2015, 11:38 pm
Thank you.
It works
No problem, thanks for letting me know of your problem! I'll make sure to include that Java 8 is required for the program to work :D
  • CVerse
  • Level 41
  • Master Musician
  • October 28, 2015, 7:52 pm
DUDE THIS IS AMAZING! I managed to reach 160+ FPS in Optifine with this! And 20+ FPS with Extreme Shaders! THANK YOU SO MUCH FOR POSTING THIS!!!
Thanks, glad you like it!
  • Jnaejnae
  • Level 78
  • Legendary Jarl
  • October 28, 2015, 1:45 pm
What do you mean launch it? I try to open it with java and it says java exception error, when i open it with winrar there is nothing to launch inside it either. Can you give more clear instructions how to use it?
  • Jnaejnae
  • Level 78
  • Legendary Jarl
  • October 28, 2015, 2:33 pm
Yeah maybe my java is screwed or outdated
A .jar is considered an archive, but what is inside is compressed and not meant to be launched. To launch, all you have to do is double click. If that didn't work, you may not have Java installed properly.
  • Phetagorah
  • Level 40
  • Master Skinner
  • October 26, 2015, 8:05 am
Downloaded but hadn't tried this yet. I will once I get some sleep. Hue hue. It looks pretty neat and I'm glad someone thought of this because Optifine isn't doing a damn thing
Let me know how it works for you!
It works very well for me.
Works perfectly. My game was so fast in fact that I went to log into Mineplex I logged in 2 times as fast. And switching from game to game on Mineplex literally felt like I was teleporting from place to place, where as before, it would take a second or 2. 10/10 better than optifine.
Thanks, I appreciate the feedback!
Glad I was able to help!
  • InuYasha86000
  • Level 8
  • Apprentice Network
  • October 24, 2015, 11:15 pm
I just tried it on both a 1.7.10 and 1.8 forge and non forge and got this code generated: -Xmx-486M -XX:+UseG1GC -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=10 -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=5 -Xmn128M
after hitting play on both I got the same error:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occured. Program will exit.

any ideas?
How much memory do you have on your system, and what version of Java and it's architecture do you have?
And, one more thing, what architecture is your system?
By architecture I mean 32 or 64 bit. For checking Java architecture, go into Apps & features. This is the section of settings that shows what apps you have. Look for Java, tell me the version and if it has (64-bit) beside it. If it does, then you probably already have a 64 bit system so you can skip the second step.
Second step is finding the architecture of your OS. Go to settings, system and then about, where it tells you information about your computer and current running OS. Find System type, tell me if it says 64-bit or not. Installed RAM should also be there, tell me what that says too.

I'll have a working version of the program out soon, and the project should also be updated with it for information on finding system information that I may need to know.
  • InuYasha86000
  • Level 8
  • Apprentice Network
  • October 25, 2015, 11:15 am
I have 16gigs total of RAM and am running java8 latest version, it's the x64 version same as my windows 10. hopefully that helps.
I made a quick fix on the program, but I have no idea why Java would think you have a negative ammount of RAM. It may have to do with your Java settings, if you changed them to allocate more or less ram to it. 
So sadly, for now, it has to remove the memory segment of the argument if it returns a number under 512 megs. At that point, setting the memory to anything would be pointless. Thanks for the feedback, though!
  • Latiodile
  • Level 19
  • Journeyman Dragon
  • October 27, 2015, 5:50 am
it thought he had a negative amount of ram because it was written -Xmx-486M, where it reads just 486.

with that - there it thinks you are setting negative numbers
The string "-Xmx" does not contain a dash afterwards, so the variable must be returning a negative number. I can't see why it would do this, especially with how much RAM he has unless the Java settings were changed and that threw off the program. Thanks for the input, though! If you hadn't pointed that out I wouldn't have gone back and looked if that were the problem.
  • rabpan
  • Level 9
  • Apprentice Princess
  • October 24, 2015, 3:30 pm
You forgot to credit me for all of this, you scumbag.
My B, fam. 3>

1 - 41 of 41

Show Comments

Planet Minecraft



© 2010 - 2019