Jump to content

Tekkit server error to do with Java


orionAD6

Recommended Posts

when ever I start up my server I get this message

C:\Windows\system32>java -Xmx1G -Xms1G -jar tekkit.jar nogui Error: Unable to access jarfile tekkit.jar C:\Windows\system32>pause Press any key to continue . . .

If I don't run it as admin I get

C:\Users\OrionAD6\Desktop\Tekkit server 3.1.2>java -Xmx1G -Xms1G -jar tekkit.jar

nogui

'java' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\OrionAD6\Desktop\Tekkit server 3.1.2>pause

Press any key to continue . . .

Ive completly delete java and reinstalled Ive got a new server file Ive deleted java in system32 Ive tried everything I really need help

Link to comment
Share on other sites

  • 2 weeks later...

Thanks for the replay's

zenalia it is in the same folder as my start.bat I just opened the folder you download off the tekkit site and dragged everything inside into a desktop folder called tekkit server

and teraku I dont know my (path to java exe) or my (path to server jar) what path?

I believe I may have broken something in my java if I need to do "path" stuff

But an explanation would be appreciated

Link to comment
Share on other sites

A path is what it sounds like, the path to the original file (C:\Users\OrionAD6\Desktop\Tekkit server 3.1.2 <--that's a path)

Right click your launch.bat file, chose edit, and replace with this:

java -Xmx1G -Xms1G -jar Tekkit.jar nogui

pause

If it already looks like that, then try this:

"C:\Program Files\Java\jre7\bin\java" -jar -Xmx1G -XmX1G Tekkit.jar nogui

pause

Link to comment
Share on other sites

"C:\Program Files (x86)\Java\jre7\bin\java" -jar -Xmx1G -XmX1G Tekkit.jar nogui

pause

error unable to access jar file tekkit.jar again

the file reads

(folder) Buildcraft

(Folder) Config

(folder) Mods

(folder) redpower

(bat file) Launch

(file) launch.sh

(file) mod_EE.props

(jar file)Tekkit.jar

how do i get it to recognize were the jar file is? Its found Java but not tekkit.

Link to comment
Share on other sites

You should try providing the direct path to your Tekkit.jar.

Right click on Tekkit.jar -> properties

copy the text beside "Location:"

paste it in front of Tekkit.jar in your Launch.bat and then add "\" between your paste and the "Tekkit.jar" and then add quotes around the path

and example would be:

"C:\Program Files (x86)\Java\jre7\bin\java" -jar -Xmx1G -XmX1G "C:\Users\Jordan\Desktop\Tekkit server\Tekkit.jar" nogui

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...