Solved FTB ultimate Server Issue

  • 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

DMC_BDA

New Member
Jul 29, 2019
4
0
0
Ok, so I'm a complete noob at this. Been trying to figure it out all morning.
I have the FTB ultimate server 1_1_2 and I've been attempting to create a server.
When I clicked the ServerStart.bat file, a dos screen would appear and quickly disappear and nothing would happen. After trolling the internet I learned to add a pause command to the bat file. This then allowed me to read the issues.

When I click the bat file, I receive the following issue.

C:\Users\...\FTB Server>java - Xms512M -Xmx1G -jar ftbserver.jar
Registry Key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.7', but '1.6' is required.
Error: could not find java.dll
Error: could not find Java SE Runtime Environment.


I get from the message that the server requires 1.6, but I don't know why 1.7 wouldn't work. It seems to work fine with normal FTB without any problem.

Is there a way to tell the server to use 1.7?
Or do I need to find some way to downgrade my Java version?

Thanks for any assistance you can provide.
DMC
 

DMC_BDA

New Member
Jul 29, 2019
4
0
0
I was attempting it to see if I could run a server on my computer, as our old server is no more :( .
And my OS is Windows 7 64Bit SP1.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
Can you post what is in your bat file and how much total ram you have, also in your console do

Code:
java --version

Post the results of that too, just making it clear that your system is right.
 

DMC_BDA

New Member
Jul 29, 2019
4
0
0
My bat file only contains

java -Xms512M -Xmx1G -jar ftbserver.jar
pause

Ram is 4GB

When I do the above command I get a return stating (did this via the .bat and also cmd to see if the same results would occure) both returned


Registry Key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
has value '1.7', but '1.6' is required.
Error: could not find java.dll
Error: could not find Java SE Runtime Environment.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
Just a guess but to me it seems like you have multiple versions of java installed, delete all of them then install java7 64bit.

Also take the pause out of the .bat
 

DMC_BDA

New Member
Jul 29, 2019
4
0
0
Yes. Thank you Connor. Nail on the head. I got that pesky "not an internal or external" blah blah error, but was able to locate the solution to that in another thread.
Thank you very much for you help with this!:)
 
  • Like
Reactions: Connor Gavitt