Problem Windows 8 Can't add more ram

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

whatshisface9

New Member
Jul 29, 2019
12
0
0
OS: Windows 8
I am using this server on my home computer.
I am using Mindcrack v7.
I did not add any extra mods.
It has the default server specs.
Java version: Version 7 Update 10

I found this bat file,
Code:
java -Xms1024M -Xmx2048M -jar craftbukkit.jar -o true
so that I can add more RAM to my server. When I try to run it, it says "Java is not recognized as an internal or external command, operable program, or batch file"
All help would be appreciated, so that I can start my server with more RAM.
 

glasspelican

New Member
Jul 29, 2019
187
0
0
first read this
http://java.com/en/download/help/path.xml

you need to add java to your system path
I am surprised that it works at all

second
how much ram is in your system, is windows 64bit if so you want to make sure you have 64bit java installed
once you have java in your system path run this command
Code:
java -version
 

glasspelican

New Member
Jul 29, 2019
187
0
0
you will want to add something like
Code:
;C:\Program Files\Java\jre7\bin
what the exact line is depends on your system
also note that each of the entrees in the variable is separated by a ";"
 

whatshisface9

New Member
Jul 29, 2019
12
0
0
I did "C:\Program Files (x86)\Java\jre7\bin", and it still says the same thing, that is the only spot where i have Java
 

glasspelican

New Member
Jul 29, 2019
187
0
0
after changing the path you need to reboot
did you separate the java line from the other elements with a ;
 

MomoNasty

New Member
Jul 29, 2019
74
0
0
u have 64bit java right?[DOUBLEPOST=1357861756][/DOUBLEPOST]oh i see the problem set ur java path to a regular Program Files folder if their is java in their then that will be the java 64bit which is needed for higher ram allocation
 

Shane Cristiano

New Member
Jul 29, 2019
3
0
0
Yes i'm having the same problem. I can't add more RAM to my server, i run it on windows 8 and it always says: Java is not recognized as an internal or external command, operable program, or batch file. Please help
 

MomoNasty

New Member
Jul 29, 2019
74
0
0
Ahh might be the problem if you arent running raid 1 with them then it will only look for java in the default hdd.