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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...