Jump to content
  • 0

Program is not recognized as an internal or external blah blah


Question

Posted

Title: Program is not recognized as an internal or external blah blah

Version: 3.1.2 | 1.2.5

OS: win 7 64

Java Version: 7

Description of Problem:

Have searched the forums and seen a variety of problems like this have tried the

Replace "java" with this:

"%ProgramFiles%\Java\jre6\bin\java.exe" if you are using Java 6

"%ProgramFiles%\Java\jre7\bin\java.exe" if you are using Java 7

So your new batch file should look something like this:

Quote

"%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx12288M -Xms1024M -jar Tekkit.jar nogui

PAUSE

my current path is

C:\Users\wolf\desktop\newfolder>C:\Program Files <x86>\Java\jre7\bin\java -jar -Xmx1g -Xms1g tekkit.jar nogui

but what I entered into the path is

C:\Program Files (x86)\Java\jre7\bin\java -jar -Xmx1G -Xms1G tekkit.jar nogui

pause

Don't know what is going on

Error Messages:

I think its a path error on my end but I'm not sure where along the line its not working

Error Log:


not sure where to find error log, Sorry I just woke up and thank you for your time

(wrong area sry for that reason)

Torezu I'm sorry for my ability to explain this, basically I downloaded the server off the main page 3.1.2 and it just tells me Program is not recognized as an internal or external etc etc

I'm not sure what I'm doing wrong as I have hosted servers before and they normally work right off the bat. I think thats all I'll watch this 24/7 awaiting your reply but no rush bro

11 answers to this question

Recommended Posts

  • 0
Posted

This...is a launcher or Tekkit bug, depending on whether you're trying to run the launcher or server .jar, not a Technic Bug. Yes, I know it says Tekkit.jar in your path, but...I thought you might be using the batch file that comes with the server software to run the launcher. Repost in the appropriate section, please.

  • 0
Posted

its the server sorry. where do you want me to post this?

Edit the OP with the Tekkit version number, and if everything else is correct, I'll bump it to the Tekkit Bug Board.

  • 0
Posted · Hidden
Hidden

Title: Program is not recognized as an internal or external blah blah

Version: 7.0.1 | 1.2.5 (Dev)

OS: win 7 64

Java Version: 7

Description of Problem:

Have searched the forums and seen a variety of problems like this have tried the

Replace "java" with this:

"%ProgramFiles%\Java\jre6\bin\java.exe" if you are using Java 6

"%ProgramFiles%\Java\jre7\bin\java.exe" if you are using Java 7

So your new batch file should look something like this:

Quote

"%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx12288M -Xms1024M -jar Tekkit.jar nogui

PAUSE

my current path is

C:\Users\wolf\desktop\newfolder>C:\Program Files <x86>\Java\jre7\bin\java -jar -Xmx1g -Xms1g tekkit.jar nogui

but what I entered into the path is

C:\Program Files (x86)\Java\jre7\bin\java -jar -Xmx1G -Xms1G tekkit.jar nogui

pause

Don't know what is going on

Error Messages:

I think its a path error on my end but I'm not sure where along the line its not working

Error Log:


not sure where to find error log, Sorry I just woke up and thank you for your time

Torezu I'm sorry for my ability to explain this, basically I downloaded the server off the main page so its the technic server and when I try to run the batch file that comes with it which is the version3.1.2 and it just tells me Program is not recognized as an internal or external etc etc

I'm not sure what I'm doing wrong as I have hosted servers before and they normally work right off the bat.

  • 0
Posted

Move the batch file to the same folder as your server files (tekkit.jar, in other words), and add quotes around the path with Java (so "C:\Prog...\java.exe"). See what that does.

  • 0
Posted

new path is C:\Users\wolf\desktop\newfolder"C:\Program Files (x86)\Java\jre7\bin\java" -jar -Xmx1g -Xms1g tekkit.jar" nogui

pause

new error is "the filename, directory name, or volume label syntax is incorrect.

and I didn't quite understand what you meant by move the batch file to the same folder as your server files. I just extracted the files to new folder on my desktop and ran the launch.bat.

  • 0
Posted

Why do you have that junk at the beginning before the java path? Take that out. Make it look like this:

"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar -Xmx1g -Xms1g tekkit.jar

Include the quotes. Don't include anything else.

  • 0
Posted

new path

"C:\Program Files (x86)\Java\jre7\bin\java" -jar" -Xmx1g -Xms1g tekkit.jar nogui

pause

new error

unrecognized option -jar -Xms1g tekkit.jar nogui

error: could not create java virtual machine

error: a fatal exception has occurred. program will exit

C:\users\wolf\desktop\newfolder>pause

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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...