Jump to content

Hamachi/Tekkit Server. Launch.bat fails to initialize, please help...


Recommended Posts

Posted

 Hello,

 

 I'm new to this forum but not new to Minecraft. Since Minecraft was in Beta my Nephew and I have played Minecraft together and we have always used Hamachi to connect our PC's together (we live about 25 miles from each other).

 

Recently we decided to play Minecraft via Tekkit. Both my Nephew and I can set up our PC's to be the Server.

 

We use the Tekkit 1.2.7b Zip File as our Server. What I personally do to get my Tekkit Server to run is I double-left-click the Launch.bat File which acts as the Tekkit Server.

 

Today we added a new Friend to join us on our Tekkit Server, He is able to join us when I'm using my PC as the Tekkit Server (again were connected via Hamachi).

 

As a Favor to Him he asked If I could explain how to setup a Tekkit Server on His PC so that he could run Tekkit with other friends of His. Problem is, we can't seem to get Launch.bat to run on His PC. When his Launch.bat is double-clicked he gets a Command Window that States: "Java is not recogonized as an Internal or external command, operable program or batch file.", Press any Key to continue... When we press a Key the Command Window dissappears.

 

I can re-inact his problem on my PC. If I right-click my Launch.bat and choose to run it as an administrator, I'll get a "Press any Key" to continue window and the window will as well Disappear. So could the problem be the Launch.bat file doesn't work in Admin Mode ?, and If so how do we get around the Admin Mode on His PC so that Double-left-clicking the Launch.bat will work ?

 

Thanks in Advance

 

 

Posted

 I think I figured it out.

 

Looks like Java was the Problem. We compared what Java's we each had in our Programs List in Control Panel. He did not have 64-Bit Java, I did. So we had Him install 64-Bit Java, His Launch.bat now works.

Posted

That would only matter if you specified the java path specifically for that version of java or if you used the jdk and specified -server or to run in 64 bit mode. If you specify the java path to a specific folder (C:Program Filesjavajre7_u51bin for example) there might be issues for someone with a different version of java using the same batch file. If your friend used the same batch file but a different version of java, such as 32 bit version, the path would be different (C:Program Files(x86)javajre7_u51bin). It is also possible that there is an issue with the environmental variable "path".

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.

×
×
  • Create New...